reduxjs/react-redux (react-redux)
### [`v7.2.9`](https://togithub.com/reduxjs/react-redux/releases/tag/v7.2.9)
[Compare Source](https://togithub.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9)
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:
```ts
{
areStatesEqual?: (
nextState: State,
prevState: State,
nextOwnProps: TOwnProps,
prevOwnProps: TOwnProps
) => boolean
}
```
#### What's Changed
- connect: pass ownProps to areStatesEqual by [@jspurlin](https://togithub.com/jspurlin) in [https://github.com/reduxjs/react-redux/pull/1952](https://togithub.com/reduxjs/react-redux/pull/1952)
**Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
7.2.8
->7.2.9
Release Notes
reduxjs/react-redux (react-redux)
### [`v7.2.9`](https://togithub.com/reduxjs/react-redux/releases/tag/v7.2.9) [Compare Source](https://togithub.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9) 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: ```ts { areStatesEqual?: ( nextState: State, prevState: State, nextOwnProps: TOwnProps, prevOwnProps: TOwnProps ) => boolean } ``` #### What's Changed - connect: pass ownProps to areStatesEqual by [@jspurlin](https://togithub.com/jspurlin) in [https://github.com/reduxjs/react-redux/pull/1952](https://togithub.com/reduxjs/react-redux/pull/1952) **Full Changelog**: https://github.com/reduxjs/react-redux/compare/v7.2.8...v7.2.9Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.