rlaffers / xstate-ninja

Devtool for XState state machines
ISC License
68 stars 3 forks source link

Actor of type machine is not a state machine #9

Closed Zehir closed 9 months ago

Zehir commented 10 months ago

Hello,

I have a beavior that I don't understand, the extention tell that my machine is not a state machine but why ? But after changing it back it's now a state machine.

On initial loading :

image

Then I select the invocation It's not an machine so the message is ok image

Then I select back the machine Now the context and stuff is displayed image

rlaffers commented 10 months ago

This seems like a bug. Can you provide a minimal example of a state machine for reproducing this?

Zehir commented 10 months ago

This seems like a bug. Can you provide a minimal example of a state machine for reproducing this?

There it is : https://stackblitz.com/edit/vitejs-vite-tawx2z?file=src%2Fcomponents%2FHelloWorld.vue

Make sure to copy the preview url and open it in a new tab.

If the xstate console was open after the page loading it's working but when you refresh the page the side panel say that the machine is not a machine.

rlaffers commented 9 months ago

@Zehir I can no longer reproduce this issue. Can you confirm it's been fixed?

Zehir commented 9 months ago

@rlaffers Me neither thanks!

I have updated to 1.3.10 and extension 1.7.1 and it's seems to work.

I will re-open this issue if needed