svelte: Svelte 5: Undocumented breaking changes
Describe the bug
There are a number of breaking changes that have not made their way into the official list of breaking changes yet. I’m creating this issue to track them. Maintainers: Edit this post as we come across new ones, and check them off as we have PRs documenting them.
Reproduction
https://svelte-5-preview.vercel.app/docs/breaking-changes
Logs
No response
System Info
-
Severity
annoyance
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (14 by maintainers)
Commits related to this issue
- docs: document more breaking changes Related to #11400 closes #11590 — committed to sveltejs/svelte by dummdidumm 3 years ago
- docs: document more breaking changes (#11636) * docs: document more breaking changes Related to #11400 closes #11590 * Update sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-brea... — committed to sveltejs/svelte by dummdidumm 3 years ago
- docs: note default value breaking change to `bind:` in runes mode https://github.com/sveltejs/svelte/issues/11400#issuecomment-2223186433 — committed to sveltejs/svelte by dummdidumm 2 years ago
- docs: note default value breaking change to `bind:` in runes mode (#12412) * docs: note default value breaking change to `bind:` in runes mode https://github.com/sveltejs/svelte/issues/11400#issue... — committed to sveltejs/svelte by dummdidumm 2 years ago
- docs: note default value breaking change to `bind:` in runes mode (#12412) * docs: note default value breaking change to `bind:` in runes mode https://github.com/sveltejs/svelte/issues/11400#issue... — committed to sveltejs/svelte by dummdidumm 2 years ago
- docs: note default value breaking change to `bind:` in runes mode (#12412) * docs: note default value breaking change to `bind:` in runes mode https://github.com/sveltejs/svelte/issues/11400#issue... — committed to sveltejs/svelte by dummdidumm 2 years ago
bind:valueis just syntactic sugar for{value} oninput={(e) => value = e.currentTarget.value}. So your example becomes this