global-context-example
global-context-example copied to clipboard
Using Contexts to properly manage global states
Global Context Example
TLDR; This is an experimental repo that shows how to properly manage your global states with React Context!
Contents
- Installation
- Run locally
Installation
Clone repo:
SSH:
git clone [email protected]:ooade/global-context-example.git
cd global-context-example
or
HTTPS:
git clone https://github.com/ooade/global-context-example.git
cd global-context-example
Run locally
Start a live-reload development server:
yarn start
If you find yourself wanting to do this, you should just use Redux or go with Recoiljs.
If you have any question, feel free to reach out to me!