I am still learning Redux, RTK, and React-Redux. But since I have seen React Hooks provide useReducer, I begin to think whether it will be sufficient to just use useReducer with Context for global state management, instead of Redux.
If I have to use Redux, I need to apply all the concepts, APIs provided in Redux, RTK and React-Redux.
So, useReducer + Context seems to be an alternative; but I am not sure if they really fit to large codebase.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am still learning Redux, RTK, and React-Redux. But since I have seen React Hooks provide useReducer, I begin to think whether it will be sufficient to just use useReducer with Context for global state management, instead of Redux.
If I have to use Redux, I need to apply all the concepts, APIs provided in Redux, RTK and React-Redux.
So, useReducer + Context seems to be an alternative; but I am not sure if they really fit to large codebase.