This project was bootstrapped with Create React App. This repository is a companion to an article I wrote When To Use useState vs useReducer Hook In React. It is also available on CodeSandbox.