/captain-hook

Demo hook api as a redux replacement

Primary LanguageJavaScript

About

Playing around with the RFC React Hook api.

Using useContext and useReducer to provide a basic global app state.

In this example, a global state exists for a count and authentication value.

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.