Skip to content

React.Strict breaks the inspector #44

Open
@diamond-darrell

Description

@diamond-darrell

Hello there,
I've noticed an issue with the inspector when React.Strict mode is enabled.
Basically, it gets stuck on actor execution after rerendering the component that provided the machine. The machine's runtime execution seems fine since we're reaching the idle state, but it makes the inspector unusable afterward. You can see it's working if the strict mode is disabled.

CodeSandbox

https://codesandbox.io/p/sandbox/stately-inspect-iframe-repro-forked-hwv7ch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions