Building Minesweeper with @xstate/store

State management is hard. If I had to guess, maybe most bugs I work on are some form of errant, brain-derived state management issues. This is an account of trying to find ways to make it less hard, hopefully use my brain less so it can't get in the way, and have some fun in the process. Why @xstate/store? ​ At first glance I thought "Why wouldn't I use x, y, or z state management library", but…