This project implements useContext and useReducer hooks for global auth state of user.
Routes are protected for private pages and login details are stored in localStorage for persistence.
https://azashi.github.io/context-reducer/
In the project directory, you can run:
Installs all the necessary dependencies.
Runs the app in the development mode.
Open http://localhost:3000/context-reducer to view it in the browser.
Builds the app for production to the build
folder.