@ -208,10 +208,9 @@ Runes are an additive feature, but they make a whole bunch of existing concepts
- `export let`
- `export let`
- `$:`, with all its attendant quirks
- `$:`, with all its attendant quirks
- different behaviour between `<script>` and `<script context="module">`
- different behaviour between `<script>` and `<script context="module">`
- the store API, parts of which are genuinely quite complicated
- the `$` store prefix
- `$$props` and `$$restProps`
- `$$props` and `$$restProps`
- lifecycle functions (things like `onMount` can just be `$effect` functions)
- lifecycle functions (things like `afterUpdate` can just be `$effect` functions)
- the store API and `$` store prefix (while stores are no longer necessary, they are not being deprecated)
For those of you who already use Svelte, it's new stuff to learn, albeit hopefully stuff that makes your Svelte apps easier to build and maintain. But newcomers won't need to learn all those things — it'll just be in a section of the docs titled 'old stuff'.
For those of you who already use Svelte, it's new stuff to learn, albeit hopefully stuff that makes your Svelte apps easier to build and maintain. But newcomers won't need to learn all those things — it'll just be in a section of the docs titled 'old stuff'.