Packages

react-redux

9.3.1 · 27 Oct 2026MIT54.9M / weekRepositorynpmAtom feed

Your version

7.2.9

23 Sep 2022Where it was published

In short

1 changed

Release note

This patch release updates the rarely-used areStatesEqual option for connect to now pass through ownProps for additional use in determining which pieces of state to compare if desired.

The new signature is:

{
  areStatesEqual?: (
    nextState: State,
    prevState: State,
    nextOwnProps: TOwnProps,
    prevOwnProps: TOwnProps
  ) => boolean
}

What's Changed

  • connect: Pass ownProps to areStatesEqual