You Don’t Need XState for Simple State Machines. TypeScript’s Type System is Enough

Here is a bug that ships in production constantly and almost never gets caught in code review.