You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/reference/secondary-primitives/create-render-effect.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,8 @@ This function re-runs whenever any of its dependencies change.
27
27
As a result, refs are **not set** before the render effect runs for the first time.
28
28
29
29
- After the initial execution, render effects will re-run whenever any of their dependencies change.
30
-
This happens **after** any pure computations (such as [memos](/concepts/derived-values/memos)) within the same update cycle.
30
+
31
+
Render effects always re-run **after** any pure computations (such as [memos](/concepts/derived-values/memos)) are executed within the same update cycle.
31
32
32
33
When multiple dependencies are updated within the same batch, the render effect will only run once.
0 commit comments