We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c3422 commit 9aba861Copy full SHA for 9aba861
packages/svelte/src/internal/client/types.d.ts
@@ -44,9 +44,9 @@ export type ComponentContext = {
44
/** onMount callbacks */
45
m: Array<() => any>;
46
};
47
- /** if `$:` statements are allowed to run (ensures they only run once per render) */
+ /** `$:` statements */
48
r1: any[];
49
+ /** This tracks whether `$:` statements have run in the current cycle, to ensure they only run once */
50
r2: Source<boolean>;
51
52
0 commit comments