Major Changes
- #5000
eeadb7121
Thanks @TkDodo! - - Replaceuse-sync-external-store/shim
withuseSyncExternalStore
from React.- Do not memoize
getSnapshot
inuseSyncExternalStore
. - Implement
getServerSnapshot
inuseSyncExternalStore
. - Expect
store
to always be defined inuseSelector
- Update React types to v18 and testing library to v16.
- Do not memoize