You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Trying to use a machine using useInterpret but cannot access to machine in children and it throws error + a warning Attempted to read state from uninitialized service.
Expected Result
Actual Result
Reproduction
I think this is fixed in useMachine #1132 (comment)
Additional context
"xstate": "^4.18.0","@xstate/react": "^1.3.2",
The text was updated successfully, but these errors were encountered:
The weird thing about this issue is, Only Header has issue with it, TrackList component is working fine but at the end they use same component so what I guess is, it's has something todo with scheduling or something since I tried something stupid I rendered the Header with a setTimout(0) (with wrapping it with <Delay/> component) delay and then it worked correctly.
Description
Trying to use a machine using
useInterpret
but cannot access to machine in children and it throws error + a warningAttempted to read state from uninitialized service
.Expected Result
Actual Result
Reproduction
I think this is fixed in useMachine #1132 (comment)
Additional context
The text was updated successfully, but these errors were encountered: