This release candidate updates to the latest Reselect 5.0 RC to pick up the rename of defaultMemoize
to lruMemoize
.
Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by this weekend!
See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.
The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:
npm install @reduxjs/toolkit@next
yarn add @reduxjs/toolkit@next
Changelog
RTK Query Selector Usage Fixes
The previous v2.0.0-rc.2
release picked up Reselect's dev mode checks for result functions that just return their input, like x => x
. Turns out that some of RTK Query's internal selector usage did that in some cases :) That resulted in a ton of warnings being printed. We've updated our internals to fix that.
Reselect Changes
The Reselect defaultMemoize
function has now been renamed to lruMemoize
, since it's no longer the default. See the Reselect v5.0.0-rc.1
release notes for more details.
What's Changed
- Avoid passing an identity function to createSelector by @EskiMojo14 in #3931
- Bump Reselect to pick up
lruMemoize
rename by @markerikson in #3933
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3