Skip to content

@xstate/graph@2.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Sep 18:26
· 386 commits to main since this release
7d5d447

Major Changes

  • #4233 3d96d0f95 Thanks @davidkpiano! - Remove getMachineShortestPaths and getMachineSimplePaths

    import {
    - getMachineShortestPaths,
    + getShortestPaths,
    - getMachineSimplePaths,
    + getSimplePaths
    } from '@xstate/graph';
    
    -const paths = getMachineShortestPaths(machine);
    +const paths = getShortestPaths(machine);
    
    -const paths = getMachineSimplePaths(machine);
    +const paths = getSimplePaths(machine);