
Nick's big rewrite
JS Party: JavaScript, CSS, Web Development
Is There a State Machine in X-State?
It's kind of both a little bit because it's like treating the loading of the game data and setting all of that up. And then it goes into like this question state or game idle state where you can actually play the game. And then I am triggering off of that. Like if I'm in the idle state, then render this. I'm not using anything like React Router or anything to show the different routes. I'm just checking like whether the state matches idle, then show this if the state matches question, then I have a question and render that view. And then if I have a winner, render that view,. Okay. So where is the ongoing game state of like what
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.