Statecharts as components. No classes. Pure declarative state transitions.
29
stars
6
forks
source link
Absorb noisy state updates from XState so that consumers of ember-statechart-component can have fine-grained updates #458
Open
NullVoxPopuli opened 1 year ago
From this twitter thread: https://twitter.com/nullvoxpopuli/status/1673077290593554434
The solid.js implementation augments the
state
from the interpreter instance https://github.com/statelyai/xstate/blob/740409e549ea91974b7fa8ef63438341958dafd9/packages/xstate-solid/src/useMachine.ts#L38C29-L38C44via this
createImmutable
.Note that the concept of
createImmutable
should exist as autil
in ember-resources https://github.com/NullVoxPopuli/ember-resources/