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
it is stated that reactivity is only useful if we do something in response:
"state is only reactive if something is reacting to it, otherwise it’s just a sparkling variable."
And the $effect rune is given as an immediate example.
But at the same time we see the warning that this rune should not be used too much...
This is not logically cohesive in my opinion.
(We give first example of how something (reactivity in this case) can be utilized, but right away we discourage this usage).
The text was updated successfully, but these errors were encountered:
In basic tutorial lesson on effects:
https://github.com/sveltejs/svelte.dev/tree/main/apps/svelte.dev/content/tutorial/01-svelte/02-reactivity/05-effects
it is stated that reactivity is only useful if we do something in response:
And the
$effect
rune is given as an immediate example.But at the same time we see the warning that this rune should not be used too much...
This is not logically cohesive in my opinion.
(We give first example of how something (reactivity in this case) can be utilized, but right away we discourage this usage).
The text was updated successfully, but these errors were encountered: