Major Changes
-
#4176
2e176b0b9
Thanks @davidkpiano! - Theinterpret(...)
function has been deprecated and renamed tocreateActor(...)
:-import { interpret } from 'xstate'; +import { createActor } from 'xstate'; -const actor = interpret(machine); +const actor = createActor(machine);