Skip to content

A try for new react state management [recoil](https://recoiljs.org/) `async data queries` and `persistent state` with mocking api by json-server

Notifications You must be signed in to change notification settings

JaosnHsieh/recoiljs-persistent-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recoiljs-persistent-state

A try for new react state management recoil async data queries and persistent state with mocking api by json-server

  1. persistent state works.
  2. Asynchronous Data Queries works.

Start mocking api server

$ yarn mocking

Start react app

$ yarn start

persist currentUserIDState only

versions:

create-react-app 3.4.1

recoil 0.0.10

react 16.13.1

issue ended up I didn't use recoiljs for next project due to I cannot find a solution to do refetch / re-evaluation.

About

A try for new react state management [recoil](https://recoiljs.org/) `async data queries` and `persistent state` with mocking api by json-server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published