How and when to use useReducer
1. 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...
kabuchokuria.hashnode.dev5 min read