unihooks
unihooks copied to clipboard
immutability for stored value
Mutating objects outside of setState
can cause weird effects. Ideally internal state must be frozen in useStore
.
Mutating objects outside of setState
can cause weird effects. Ideally internal state must be frozen in useStore
.