#reactjs
Read more stories on Hashnode
Articles with this tag
useReducer is a local state management hook just like useState to store and update the state of a component. useReducer will take a reducer function...
The useState hook allows us to keep track of the state in a function component. The hook returns two values in the form of an array one is the current...