We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using this example machine :
createMachine({ id: "machine", initial: "first", states: { first: { on: { "some.event": { actions: "someAction" } } } } });
The event becomes a self-transition once imported :
import { createMachine } from "xstate"; export const machine = createMachine( { id: "machine", initial: "first", states: { first: { on: { "some.event": { target: "first", actions: { type: "someAction", }, }, }, }, }, types: { events: {} as { type: "some.event" } }, }, { actions: { someAction: ({ context, event }) => {}, }, actors: {}, guards: {}, delays: {}, }, );
Studio version: 0.100.0
The text was updated successfully, but these errors were encountered:
That's not right. Looking into this.
Sorry, something went wrong.
Will be released soon!
No branches or pull requests
Using this example machine :
The event becomes a self-transition once imported :
Studio version: 0.100.0
The text was updated successfully, but these errors were encountered: