Replies: 2 comments 1 reply
-
This would make a good enhancement to
I would guess that the slowdown is being caused by serialization. One thing that may help is managing communication with an inspector via a web worker, so that the app isn't blocked by serialization 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@JackCA could you record the performance profile that would showcase the slowdown? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use
xstate/inspect
in a very complex app with multiple levels of actors.When using
inspect
, the app initially starts up but quickly becomes unresponsive. The inspect window shows a good representation of the initial states of the machine and I'm able to navigate around the different machines/states/events but it's super slow.My theory is that part of the issue is that I'm storing very large representations of an API in the context of multiple machines.
Is there a way to:
serialize
?Beta Was this translation helpful? Give feedback.
All reactions