Understanding Reducers
What is Reducer?
Reducers, as the name suggests, take in two things: previous state and an action. Then they reduce it to one entity: the new updated instance of state.
Reducer function has 2 properties. They are:
Reducer must be a pure function.
Re...
srafsan.hashnode.dev3 min read