Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

v0.5.1

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jan 09:06
· 102 commits to dev since this release
259fb02

Patch Changes

  • #332 9f93d67 Thanks @Andarist! - Fixed the app crashing when processing invalid actions - like when using a guard accidentally in a place of an action.
  • #334 fecdc01 Thanks @davidkpiano! - Self-transitions on the machine will no longer cause graph layout to fail:

    import { createMachine } from 'xstate';
    
    const machine = createMachine({
      on: {
        // These will now display as expected
        LOAD: {},
        UPDATE: {},
      },
      states: {
        something: {},
      },
    });