diff --git a/documentation/docs/02-runes/04-$effect.md b/documentation/docs/02-runes/04-$effect.md index eedca52d9d43..90ca9b89f1e4 100644 --- a/documentation/docs/02-runes/04-$effect.md +++ b/documentation/docs/02-runes/04-$effect.md @@ -190,7 +190,7 @@ The `$effect.tracking` rune is an advanced feature that tells you whether or not }); -
in template: {$effect.tracking()}
+in template: {$effect.tracking()}
``` This allows you to (for example) add things like subscriptions without causing memory leaks, by putting them in child effects. Here's a `readable` function that listens to changes from a callback function as long as it's inside a tracking context: