Last 12 weeks · 0 commits
2 of 6 standards met
Repository: sveltejs/svelte-upgrade. Description: Upgrade your Svelte templates for version 2 Stars: 36, Forks: 4. Primary language: JavaScript. Languages: JavaScript (70.9%), HTML (29.1%). Open PRs: 4, open issues: 4. Last activity: 2y ago. Community health: 50%. Top contributors: Rich-Harris, Conduitry, jorgebucaran.
the interesting new stuff is in https://github.com/sveltejs/svelte-upgrade/tree/v3/test/v3/samples Some TODOs: [ ] update //etc directives to use braces for argument ( -> ) [ ] throw an error when methods and data have conflicting names [ ] existing s in components are often dropped; haven't dug into when this is triggered. try e.g.: [ ] code importing from is generated, which is not exported by Svelte (could be a Svelte problem; not sure what the intention is here) [ ] computed properties are still rewritten as argument-less function calls, rather than reactive declarations [ ] top-level statements in `` are not moved into the separate 'static' script tag; they are left in the default per-instance script
Hi Rich ! First, congrats with V3, looks awesome ! I did read in a Svelte 3 blog that the svelte-upgrade was already present, but that manual actions were required to incorporate the necessary V3 changes - which is understandable giving the work-over to version 3. I looked in the V3 branch of the svelte-upgrade, but I could not find the comments mentioned in the blog. Could you confirm the current status of the svelte-upgrade'r ? Should this be useable already? Kind regards, and thanks for all your work !
@Rich-Harris Hello! This PR swaps clorox for turbocolor. We don't need to coerce the output to a string anymore, so the code became simpler as a result of that. Let me know if this looks good to you. Cheers!