github statelyai/xstate v4.3.3

latest releases: @xstate/solid@0.2.3, @xstate/svelte@3.0.5, @xstate/vue@3.1.4...
5 years ago
  • 💻 Multiple services now are invoked as expected thanks to @tivac - #367, #368
  • 📅 Event object type inference improved. #338
  • 🆕 New StateNode method: .resolveState(state) returns a resolved state (with resolved state .value, .nextEvents, etc.) in relation to state node (machine):
// partial state
const someState = State.from('red', undefined);
const resolvedState = lightMachine.resolveState(someState);

resolvedState.value;
// => `{ red: 'walk' }`
  • 📦 Initial work on adding Lerna was started. Expect more tools in the future!
  • 🏞 Environment checks fixed thanks to @Andarist #371
    • This creates dist/xstate.web.js for use in browsers.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.