Think you need to useReducer? You might want to useMethods instead
Tags: react, hooks, statemanagement, usereducer