xstate
5.33.4 · 7 Nov 2026MIT9M / weekRepositoryHomepagenpmAtom feed
Your version
5.33.4 is the newest release of 5.x.
In short
1 new
Release note
Minor Changes
Added
.createStateConfig(…)to the setup API. This makes it possible to create state configs that are strongly typed and modular.const lightMachineSetup = setup({ // ... }); const green = lightMachineSetup.createStateConfig({ //... }); const yellow = lightMachineSetup.createStateConfig({ //... }); const red = lightMachineSetup.createStateConfig({ //... }); const machine = lightMachineSetup.createMachine({ initial: 'green', states: { green, yellow, red } });
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.