Major Changes
-
#4288
cfdf754f8
Thanks @davidkpiano! - TheuseMachine(machine)
hook now returns{ snapshot, send, service }
instead of{ state, send, actorRef }
:const { - state, + snapshot, send, - actorRef + service } = useMachine(machine);
Minor Changes
- #4288
cfdf754f8
Thanks @davidkpiano! - TheuseInterpret(machine)
anduseSpawn(machine)
hooks have been removed; use theuseActorRef(machine)
hook instead.