JS Party: JavaScript, CSS, Web Development cover image

Nick's big rewrite

JS Party: JavaScript, CSS, Web Development

CHAPTER

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.

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.
App store bannerPlay store banner