3 ms·
> How does this ever get invoked? Via magic: Reactive blocks are ordered via simple static analysis at compile time, and all the compiler looks at are the vari
by js2 3y ago
> How does this ever get invoked?
Via magic: Reactive blocks are ordered via simple static analysis at compile time, and all the compiler looks at are the variables that are assigned to and used within the block itself, not in any functions called by them.
https://svelte.dev/docs/svelte-components#script-3-$-marks-a-statement-as-reactive https://svelte.dev/docs/svelte-components#script-3-$-marks-a...