unihooks icon indicating copy to clipboard operation
unihooks copied to clipboard

immutability for stored value

Open dy opened this issue 4 years ago • 0 comments

Mutating objects outside of setState can cause weird effects. Ideally internal state must be frozen in useStore.

dy avatar Jan 06 '20 07:01 dy