This post was originally published at codebushi.com
When managing React state with the new useReducer hook, you may find that there are commonly r...
For further actions, you may consider blocking this person and/or reporting abuse
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: bit.ly/2Yg2Svy
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.