kabuchokuria.hashnode.devHow and when to use useReducer1. useReducer useReducer is a react hook used for state management. useReducer can be used as a substitute for useState. useState uses useReducer internally, demonstrating that it can perform all tasks that useState can. useReducer takes in two argum...Oct 28, 2022·5 min read