Need to add unit tests for useStateHook utility for ensured stability. https://github.com/mcclayton/react-state-patterns/blob/master/src/api/stateHook.tsx