39. Describe the Reducer's function?
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.