The classic useReducer counter example
useReducerExample.js
For the full content of this gist, refer to https://gist.github.com/CodingAbdullah/74a2949973d550e9a787bf725baab9c5
Abdullah Muhammad@CodingAbdullah
McMaster. Software Engineer with a keen interest in blockchain and web3.
Toronto, Ontariokingabdullah.codes