useState vs useReducer

React

https://www.robinwieruch.de/react-usereducer-vs-usestate/

A simple guide with suggestions on when to use state or reducer hooks