JS Party: JavaScript, CSS, Web Development cover image

Nick's big rewrite

JS Party: JavaScript, CSS, Web Development

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app