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
In real projects, states can be nested in many layers, and I have to be concerned about which objects are proxied by $state and which are not. The $state.snapshot doesn't recursively process objects, which is annoying... and I'm not sure what the best practice is? Maybe switching completely to $state would help?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After svelte5, immer seems difficult to integrate with it, for example the following code
In real projects, states can be nested in many layers, and I have to be concerned about which objects are proxied by $state and which are not. The $state.snapshot doesn't recursively process objects, which is annoying... and I'm not sure what the best practice is? Maybe switching completely to $state would help?
Beta Was this translation helpful? Give feedback.
All reactions