loading...

re: Introducing Object Hooks: Mutable State for React 🤯 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I just wanted this single part only without all the other stuff you have in your code. KISS - Keep It Stupid Simple Someone could argue that rely...

The extra bit that bridges the diff between resettable state, and mutable state: is taking the setState function and calling it whenever properties on the object change. If that's not a feature you want though, then resettable state is a good solution!

Code of Conduct Report abuse