In the official Redux docs, it says:
"Reducer" functions get their name because they're similar to the kind of callback function you pass to the
Array.reduce()
method.
While Array.reduce can reduce 3 or 1000 numbers into 1, therefore "reducing" it to a simple number:
// reducing it to a single sum:
console.log([1, 3, 5, 7, 9].reduce((a, b) => a + b));
How does a Redux reducer actually "reduce" things?