Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extend inspect: allow for multiple inspectors, add inspect to actor later #397

@josephfh

Description

@josephfh

Details

  1. Allow for multiple inspectors

Example: I want to add two inspectors to a system of actors. One for a logging service, and one for the Stately Inspector

(This may be possible, I just can't work out and have found no documentation on how to deconstruct the createBrowserInspector to use it within createMachine's inspect

  1. Allow for adding inspect to actor later

At the moment you can specify an inspector when creating an actor. This may help cases like this https://discord.com/channels/795785288994652170/1198057917392355379/1198273571319971900 when the inspector is looking for an iframe before it has been rendered

Also, it would be nice to launch the Stately Inspector from an app's developer toolbar as and when the dev wanted it

Category

XState

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions