News for hackers. Stuff that matters.
Re:Xstate: State machines and statecharts for the modern web by sanitycheck on Monday March 27, 2023 @05:29PM (#35332921)
I had a similar reaction after trying it a couple of years ago. I only needed a fairly straightforward FSM for a video player UI, and I like to properly understand any libraries I use. Xstate seemed to have waay too much going on.

I ended up writing my own in about 80 lines of typescript in less time than it would have taken to finish going through the Xstate docs. Doubtless Xstate is exactly what's needed for some projects, but I suspect it's unnecessarily adding to the complexity of many more.

There are no comments on this comment yet.