Re:Overmind.js – Frictionless State Management
by raoulj on Monday October 12, 2020 @07:34AM
(#24753367)
It doesn't look like it (from what I gather about `use-immer`). What's being suggested is updating React state via a mutable API on the data value itself. `use-immer` wraps the useState/useReducer functional updaters with a call to immer, whereas `use-structure` suggests mutating the data, which is what every React-beginner instinctively tries to do when they first get started with React. Same idea of using Proxies as immer though.
This is really interesting! Great idea.