GitHub - pmndrs/valtio: 💊 Valtio makes proxy-state simple for React and Vanilla
npm i valtio makes proxy-state simple Valtio turns the object you pass it into a self-aware proxy. You can make changes to it in the same way you would to a normal js-object. Create a local snapshot that catches changes. Rule of thumb: read from snapshots, mutate the source.
https://github.com/pmndrs/valtio