JS Party: JavaScript, CSS, Web Development cover image

Nick's big rewrite

JS Party: JavaScript, CSS, Web Development

00:00

How Much X-State Is Too Much?

How do you decide like how much x-state is too much? That's a good question. And for this and for this talk, I specifically kept it as just like one pretty, a single state machine that has a couple of nested states. Here's the heuristic for us: Once you have 50 states, then you have to stop. We've got 50 already. So we're not letting Puerto Rico in, you know, Washington DC, you're not gonna be a state. It's easily something that you could walk through. You basically can treat that as like an actor model. Like you have the actor that has its own private state that it can work with.

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