How 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...5 min read·kabuchokuria.hashnode.devOct 28, 2022