This example shows how to use valtio-factory in a React web app.
The app's state is declared inside model.ts
.
The state is persisted to and restored from local storage.
You can run the example with the command npm start
in the root of the repository.