Fixed an issue with machines created by withConfig/withContext not being captured#301
Fixed an issue with machines created by withConfig/withContext not being captured#301
withConfig/withContext not being captured#301Conversation
…t being captured
|
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/statelyai/xstate-viz/Bf758rUEPCyTEf5KPZKn9exfctKF |
The other solution here is to opt into reading from |
Yes, we could differentiate the behavior based on the Either way - this probably ain't a discussion for now. While this is gonna be slightly surprising - it's better than not supporting |
Yep, this solution works for now |
|
@Andarist could we compare the config objects we receive and deduplicate them? That would prevent the doubling of logs. |
fixes #300
but... the console output after the fix is:
that is because we capture 2 machines here (and this is somewhat an expected result as per #214, just not really in this case). This shows the limits of the current eval-like approach. It's basically impossible to cover common scenarios correctly without static analysis, cc @davidkpiano