Releases: statelyai/xstate
Releases · statelyai/xstate
@xstate/[email protected]
Patch Changes
- #5280
d8a3456bc82af5e4d176990093ba4e649e7ce286
Thanks @johnsoncodehk! - Synchronize thealien-signals
algorithm to 2.0.4
@xstate/[email protected]
Patch Changes
- #5282
42b1565cfdd6635754a4de63800d63ca74886a70
Thanks @lucioreyli! - Add missingcreateAsyncAtom
export
@xstate/[email protected]
Minor Changes
-
#5266
42bfd0a30d74e1c5820728220a00db692023f1f8
Thanks @davidkpiano! - Added async atoms:const atom = createAsyncAtom(async () => { const response = await fetch(`/api/something`); return response.json(); }); atom.subscribe((state) => { // Status can be 'pending', 'done', or 'error' if (state.status === 'done') { console.log(state.data); } });
[email protected]
Patch Changes
- #5269
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
Thanks @chladog! - Add proper history value persistence and restoration
@xstate/[email protected]
Patch Changes
- Updated dependencies [
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
]:
@xstate/[email protected]
Patch Changes
- Updated dependencies [
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
]:
@xstate/[email protected]
Patch Changes
- Updated dependencies [
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
]:
@xstate/[email protected]
Patch Changes
- Updated dependencies [
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
]:
@xstate/[email protected]
Patch Changes
- Updated dependencies [
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9
]:
@xstate/[email protected]
Patch Changes
- #5261
986c5c86e15efe6d219bd6a0bb2130917c1db50e
Thanks @davidkpiano! - Reduced the bundle size for the atom implementation