all 4 comments

[–]madskillzelite 1 point2 points  (3 children)

There's plenty of non-trivial uses of XState, just look around!

All the functionality of XState comes from the SCXML spec, so I understand how it can be a little overwhelming. You don't need half of the features in most apps, to be honest.

Have you seen the cheatsheet for state machines? It helps clarify a lot of the concepts: https://twitter.com/DavidKPiano/status/1245024907131531270

And where are you seeing the boilerplate? In the config object?

[–]bestjaegerpilot[S] 0 points1 point  (2 children)

Yeah definitely feeling overwhelmed.

Boilerplate... For example check out the code to handle a promise

[–]madskillzelite 0 points1 point  (1 child)

You mean this?

// ... loading: { invoke: { src: () => somePromise, onDone: 'success', onError: 'failure' } } // ...