This article walks through how to combine multiple useState() React hooks logic into a single useReducer().