pmndrs / zustand

🐻 Bear necessities for state management in React
https://zustand-demo.pmnd.rs/
MIT License
46.93k stars 1.45k forks source link

Does zustand Internally maintains mutable state? #2718

Closed cobra0411 closed 1 month ago

cobra0411 commented 1 month ago

On the docs, It mentioned that zustand states are immutable. Can anyone share docs of internal working of states how exactly state are updated?