ember-statechart-component
ember-statechart-component copied to clipboard
xstate version?
Current package.lock peerDependencies says:
"xstate": "^4.32.1"
but the README says:
- XState >= 5
Isn't this a contradiction?
Coming here beacuse in a new app with "ember-statechart-component": "^6.1.2", I got:
WARN Issues with peer dependencies found
.
└─┬ ember-statechart-component 6.1.2
└── ✕ unmet peer xstate@^4.32.1: found 5.10.0
To rendom bypassers: When I had xstate: 5.10.0 I was getting:
Uncaught Error: Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: StateMachine
Whenever I downgraded to recommended xstate: 4.32.1 the problem has disappeared and xstate started working for me.
Yeah, i'm mid-rewrite of this library to support xstate5, but i forgot to finish!
Xstate5 has a ton of breaking changes
latest version now supports for xstate 5!