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 are uncomplicated functions that describe how the state of the application changes in response to an ACTION. Reducers function by ingesting the prior state and action, then returning a new state. Based on the type of activity, it calculates what kind of update is required, and then it returns new values. If no work needs to be done, it returns the prior state exactly as it was.

Recent Doubts

Close [x]