In this project, we created a simple counter, with the purpose of exemplifying in three easy steps the differences between the use of useState
, redux
and redux with a middleware (redux-observable
).
git clone [email protected]:jpmmadeira/redux-observable-intro.git
yarn install
yarn start
A Counter component using useState
hook to manage its own state.
In this step, we implemented a redux
store and connected it with the counter component. Now, our state is managed globally.
In this step, we added the redux-observable
middleware, to intercept previously implemented redux actions before they are executed.
This is a project made to be presented at a Uniplaces tech sync 🚀