github statelyai/xstate @xstate/fsm@1.6.0

3 years ago

Minor Changes

  • b990d527 #1911 Thanks @davidkpiano! - Transitions with undefined targets will no longer exit and re-enter the state, which means that exit and entry actions will not be executed:

    // ...
    someState: {
      entry: [/* ... */],
      exit: [/* ... */],
      on: {
        SOME_EVENT: {
          // undefined target - will not exit/re-enter
          actions: [/* ... */]
        }
      }
    }
    // ...

Don't miss a new xstate release

NewReleases is sending notifications on new releases.