Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

valtio-factory example with React

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.