2 ms·
I'm planning on replacing the TodoMVC example and use a more real-world example. However, Kent is only using XState in one non-trivial interactive part of the
by davidkpiano 5y ago
I'm planning on replacing the TodoMVC example and use a more real-world example.
However, Kent is only using XState in one non-trivial interactive part of the site – the call recorder: https://github.com/kentcdodds/kentcdodds.com/blob/main/app/components/calls/recorder.tsx#L66-L206 https://github.com/kentcdodds/kentcdodds.com/blob/main/app/c...
Seems to me like a proper use of a state machine (I might be biased, though).