-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eeadb71
commit c895899
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
'@xstate/store': patch | ||
'@xstate/store': major | ||
--- | ||
|
||
- replace use-sync-external-store/shim with useSyncExternalStore from react | ||
- do not memoize getSnapshot in uSES | ||
- implement getServerSnapshot in uSES | ||
- expect store to always be defined | ||
- update react types to v18 and testing library to v16 | ||
- 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. |