What does reducer mean?
A function in functional programming that takes an accumulator and a value, and returns a new accumulator. In Redux, a reducer is a function that takes the current state and an action, and returns a new state.
Example
"The reducer function combined the user input with the existing state to produce a new state."
Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.