Skip to content
New issue

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

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

Open
josephfh opened this issue Jan 20, 2024 · 0 comments
Open

Comments

@josephfh
Copy link

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

@laurakalbag laurakalbag changed the title [XState] Extend inspect: allow for multiple inspectors, add inspect to actor later Extend inspect: allow for multiple inspectors, add inspect to actor later Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants