Various Patterns for Creating State and Actions

Valtio itself provides basic functions proxy and useSnapshot. It’s up to developers to decide how to organize a state object and actions.

Get hands-on with 1200+ tech skills courses.