Skip to content

[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Aug 11:49
· 515 commits to main since this release
6feac8b

Major Changes

  • #4176 2e176b0b9 Thanks @davidkpiano! - The interpret(...) function has been deprecated and renamed to createActor(...):

    -import { interpret } from 'xstate';
    +import { createActor } from 'xstate';
    
    -const actor = interpret(machine);
    +const actor = createActor(machine);