Releases: reduxjs/react-redux
Releases · reduxjs/react-redux
v4.4.0
- Removes the broken
jsnext:main
. It is supposed to point to the ES module build but we mistakingly pointed it to thesrc
, so it never worked for anyone anyway. For now, we don’t provide an ES module build in React Redux, so if you use Rollup, you need to use the CommonJS plugin for it. Realistically, it doesn’t make a big difference because React Redux assumes you use React anyway (which uses CommonJS), and it also doesn’t benefit from tree shaking because there are only two exports (connect
and<Provider>
) and you will need both pretty much any time.
This is a minor bump because we couldn’t break anybody with this (it was broken before), but it seems to deserve more than a patch bump as it’s a change in the build configuration.
v4.3.0
- Adds per-instance memoization API. If your
mapStateToProps
ormapDispatchToProps
returns a function, that function will be used instead for the given component instance. Most apps never need this, but it can be handy for custom memoization logic in apps with large component trees. It can bring significant performance improvements when used together with Reselect. (#279, 7ee928b, #179)
v4.2.1
- Bump Lodash to 4.2.0 (reduxjs/redux#1346, reduxjs/redux#1349)
v4.2.0
isPlainObject
that we use internally is now outsourced to Lodash 4.1 (reduxjs/redux#1339). Note that this does not mean we depend on Lodash itself. We only use a tiny module from it. We also use the same module in Redux >= 3.2.0.