user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

39. Describe the Reducer's function?

user image

Abhishek Mishra

2 years ago

Reducers, as the name suggests, take in two things: previous state and an action. Then they reduce it (read it return) to one entity: the new updated instance of state. So reducers are basically pure JS functions which take in the previous state and an action and return the newly updated state.

Recent Doubts

Close [x]