Skip to content

Commit 54233ad

Browse files
authored
docs: clarify "obsolete" in runes blog post (#9364)
1 parent 8956125 commit 54233ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

documentation/blog/2023-09-20-runes.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,9 @@ Runes are an additive feature, but they make a whole bunch of existing concepts
208208
- `export let`
209209
- `$:`, with all its attendant quirks
210210
- different behaviour between `<script>` and `<script context="module">`
211-
- the store API, parts of which are genuinely quite complicated
212-
- the `$` store prefix
213211
- `$$props` and `$$restProps`
214-
- lifecycle functions (things like `onMount` can just be `$effect` functions)
212+
- lifecycle functions (things like `afterUpdate` can just be `$effect` functions)
213+
- the store API and `$` store prefix (while stores are no longer necessary, they are not being deprecated)
215214

216215
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'.
217216

0 commit comments

Comments
 (0)