Have implemented increment and decrement of a number using useReducer Hook. Also useReducer Hook was used in order to eliminate the usage of useState Hook which used to re render the app on every click.
luvkhubani/React-app
Have implemented increment and decrement of a number using useReducer Hook. Also useReducer Hook was used in order to eliminate the usage of useState Hook which used to re render the app on every click.
JavaScript