github statelyai/xstate @xstate/store@2.0.0

one month ago

Major Changes

  • #5000 eeadb7121 Thanks @TkDodo! - - Replace use-sync-external-store/shim with useSyncExternalStore from React.
    • Do not memoize getSnapshot in useSyncExternalStore.
    • Implement getServerSnapshot in useSyncExternalStore.
    • Expect store to always be defined in useSelector
    • Update React types to v18 and testing library to v16.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.