github statelyai/xstate @xstate/svelte@6.0.0-alpha.3

latest releases: @xstate/codemod@0.1.0-alpha.1, @xstate/vue@6.0.0-alpha.3
pre-release3 hours ago

Patch Changes

  • 73fa80b: useActor, useActorRef and useMachine now require input for machines that declare a required input schema, matching createActor. Passing a persisted snapshot instead of input is allowed.
  • aa49aee: Publish @xstate/svelte as an ES module so import resolves to real ESM instead of a CommonJS wrapper. This fixes Vitest and other ESM tooling failing with require('svelte/store') errors against Svelte's ESM-only builds. require('@xstate/svelte') still works on Node versions that support require(esm).

Don't miss a new xstate release

NewReleases is sending notifications on new releases.