This repository is the first approach to react-hooks-store.
npm installto install previous sample packages:
npm installYou can find the 50-line code of the first approach to react-hooks-store in the react-hooks-store folder:
- Now we can just execute the app (
npm start) and check with ReactDevTools the <Context.Provider> node with the application store.
npm start