This is simple redux-like library written to get proper understanding of redux.
It has createStore
which holds state
and gives subscribe
, getState
and dispatch
functions for working with the state.
Also createStore
uses a reducer
, that takes state
and action
and gives new value of the state. Same as actual redux works.
App built using ReactJS, semantic-ui.
- Ensure you have
npm
installed.
Follow the instructions for your platform here.
- Clone git repository
git clone https://github.com/gaisin/handwritten_redux
- Go to the directory
cd handwritten_redux
- Install all dependencies:
npm install
- Start the app
npm start
The app is now running at http://localhost:3000/