github statelyai/xstate @xstate/fsm@1.4.0

4 years ago

Minor Changes

  • 3d50808 #1082 Thanks @davidkpiano! - The .state property is now exposed on the service returned from interpret(machine), which is a getter that returns the latest state of the machine.

Patch Changes

  • dcbd72f #1122 Thanks @chancestrickland! - StateMachine.Config type accepts now a third type parameter - TState - similarly to other existing types. When provided it provides helpful intellisense when defining the state chart transitions.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.