useReducer hook in React
Introduction:
useReducer hook in react is used for state management. This hook is implemented in large projects where there is a need for managing multiple states.
The syntax for this hook is : useReducer(reducer,initialState)This takes two arguments...
learnings.hashnode.dev1 min read