Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 294 Bytes

File metadata and controls

8 lines (5 loc) · 294 Bytes

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.