re: Higher Order Reducers with React Hooks VIEW POST


Why did you call it high order reducer and not factory reducer or high order function?

From what I can see, it's not a real reducer because it doesn't handle state and/or action.


Hey! I actually got the name from this Redux article:

The example they show something similar, a function that returns a reducer. I guess you can call it a reducer factory or just a higher order function that returns a reducer. I just wanted to emphasize that a reducer is being returned.

code of conduct - report abuse