Turning your React Component into a Finite State Machine With useReducer
Written on 25 Jan 2020
A finite state machine is not a new concept in the world of computing or mathematics. It is a mathematical model that be in one a few finite states. Transition to a new state could depend on the previous state and a set of external factors.