3 ms·
The things that bit me with svelte's reactive statements is that they are run at the end of componenent initialization (but they are part of it, unlike onMount'
by cassepipe 3y ago
The things that bit me with svelte's reactive statements is that they are run at the end of componenent initialization (but they are part of it, unlike onMount's arg)
Now I always keep my reactive statements below my regular js statements, to remember.
Also I think it would have been clearer to call onMount, afterMount