How to implement useState with useReducer

A fun exercise to help understand the differences and use cases of these two related hooks

Sources