This repo contains examples of state management approaches for React applications.
Currently presented examples with:
- Redux
- MobX
- Context
To run any of these examples follow this steps:
-
Clone this repo (once)
git clone git@github.com:ntnbrtnkv/react-state-management.git
-
Move to interested approach directory, for example MobX:
cd ./react-state-management/mobx
-
Install dependencies (
yarn
is preferred, but you can usenpm
)yarn
or
npm i
-
Run project
yarn start
or
npm run start