react-app-store
a react store util, dispatch state and actions to child components,also store data to share between componets
Componets
-
Store: a class to store state, data and actions, also dispatch state to connected prividers when state changed.
-
Provider: a React Class to pass state to component, when store state changed
-
GlobalStore: a store map, which is global scope
Usage
see examples director
npm i
npm start
http://localhost:9090/examples