Introducing useComplexState hook, - a small wrapper combining Redux Toolkit, useReducer with some extra syntax sugar to make things even simpler and more to-the-point.
A simple example that demonstrates when useState is no longer a good idea, and how to make useReducer less scary to work with.