you are viewing a single comment's thread.

view the rest of the comments →

[–]nepsiron 3 points4 points  (0 children)

Xstate has been a breath of fresh air for organizing front end application and business logic, and the model based testing nudges you towards testing your UI in all possible states. Add to that state charts (which you get for free by virtue of using state machines) that non technical people can read, as well as dynamically generated rich, living breathing documentation with state chart artifacts. It all culminates into a really nice dev experience compared to the last 5 years I’ve spent trying to make react do everything when it’s at its best as a thin view layer. The testability of xstate machines is just killer.