File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sites/svelte-5-preview/src/routes/docs/content/01-api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,8 +207,8 @@ nested effects that you want to manually control. This rune also allows for crea
207
207
</script>
208
208
```
209
209
210
- The ` $effect.root ` can be used from anywhere, but if it's used nested within another active effect (such as during component initialisation)
211
- then it might be desirable to know when that active effect gets disposed and cleaned up. ` $effect.root ` takes an optional second arugment,
210
+ If the ` $effect.root ` was created within within another active effect (such as during component initialisation) then it might
211
+ be desirable to know when that active effect gets disposed and cleaned up. ` $effect.root ` takes an optional second arugment,
212
212
which is a function callback for when this happens in case. This allows you to cleanup the effect root too if needed.
213
213
214
214
``` svelte
You can’t perform that action at this time.
0 commit comments