You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
Details
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
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
The text was updated successfully, but these errors were encountered: