Update 02-runes.md

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

@ -107,7 +107,7 @@ If the value of a reactive variable is being computed it should be replaced with
## `$effect`
To run code whenever specific values change, or when a component is mounted to the DOM, we can use the `$effect` rune:
To run side-effects like logging or analytics whenever some specific values change, or when a component is mounted to the DOM, we can use the `$effect` rune:
```diff
<script>

Loading…
Cancel
Save