Closed mhsdesign closed 2 years ago
Unfortunately, this is simply not possible. something
is a number
and passed in by value, which does not support any reactivity. In general, Svelte stores is what you would want to use in order to enable reactivity. What is the issue with using Svelte stores?
issue that i will need to rethink a part of my state handling.
but i will go with a $tore - thanks
i have something like this: okay i my case
something
is an exported prop which takes in some reactive data...the proplem is in the
showPopup
,something
is assigned and looses its reactivity. is there a way to keep the reactivity without using stores?