Xstate@v5 & context
argument for getService()
in fromPromise()
#521
Labels
bug
Something isn't working
context
argument for getService()
in fromPromise()
#521
In
xstate@v4
I could use:In
xstate@v5
I'm trying similar (using the fromPormise):But the code will trow with:
I tried to manually inspect the provided object to see if I spot
Symbol(OWNER): ApplicationInstance
, but no luck.I can, however, pass the entire
context
down as input and then use that. But that's a biiiit weird. Is there a nicer way to be able to useember-statechart-component
getService()
insidefromPromise()
callback?The text was updated successfully, but these errors were encountered: