v2.0.0-rc.2
Pre-releaseThis release candidate updates to the latest Reselect 5.0 RC to pick up the change to use weakMapMemoize
as the default inside createSelector
.
Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)
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
Reselect Changes
Reselect v5.0.0-rc.0 makes the breaking change to use weakMapMemoize
as the default memoization implementation for createSelector
. This memoizer has an effectively infinite cache size, which should cut down on the number of recalculations in a typical app, and help improve performance overall. This is a breaking change, but one that should be invisible to most users.
It also adds a new dev-mode check for result functions that look like x => x
, which is almost always a mistake.
See the Reselect v5.0.0-rc.0 release notes for more details.
What's Changed
- Bump Reselect to 5.0.0-rc.0 to pick up
weakMapMemoize
change by @markerikson in #3928
Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2