A demo app to showcase how to achieve Flux architecture with useReducer
git clone https://github.com/pvamshi/use-reducer-redux-demo.git
yarn
or
npm install
Try out with the mock server
yarn start:mock
or
npm run start:mock
Visit http://localhost:1234
Open console to check the logs being printed out.
This is to evaluate if we can emulate redux with thunk, logger etc without using any third party libraries. This is possible using React hooks . This is just POC, so you wont find tests and there might be million bugs 😁.