Update 02-runes.md

pull/9940/head
Ben McCann 3 years ago committed by GitHub
parent 06c06df670
commit 4d934a51d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -138,7 +138,7 @@ To run code whenever specific values change, or when a component is mounted to t
### What this replaces
The portions of `$: {}` that are triggering side-effects can be replaced with `$effect` while being careful to migrate value computations to `$derived`. There are some important differences:
The portions of `$: {}` that are triggering side-effects can be replaced with `$effect` while being careful to migrate updates of reactive variables to use `$derived`. There are some important differences:
- Effects only run in the browser, not during server-side rendering
- They run after the DOM has been updated, whereas `$:` statements run immediately _before_

Loading…
Cancel
Save