Skip to content

First event with nested machine as a first state is missed #138

Open
@NastyaLo

Description

@NastyaLo

In nested machines an event is needed to fall throught to start interact with a child machine.

When we have a child machine as a first state of a parent machine - initially we are in the parent machine. If we want to send an event to the child machine - we need to send any event to the parent machine. Only after that child machine will receive events.

There is a small example that reproduses the issue: https://codesandbox.io/s/robot3-react-nested-example-8dtcd

Is that expected behavior?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions