#Newbie - cant get `invoke` to invoke

1 messages · Page 1 of 1 (latest)

stoic wind
#

Hmm this looks off

#

Did you try creating a simple state machine first?

barren rock
stoic wind
#

The machine definition doesn't go in setup(…) - the machines in XState Catalogue are for v4

#

Sorry for the confusion

barren rock
#

Yes, I realize the Catalogue is for v4. I'm trying to upgrade this example.

Maybe I'm mistaken, but I'm sure I read that the types for the machine go into the setup().

barren rock