Update dependency react-redux to v9.1.0 #285
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
9.0.4
->9.1.0
Release Notes
reduxjs/react-redux
v9.1.0
Compare Source
This minor release adds a new syntax for pre-typing hooks.
.withTypes
Previously, the approach for "pre-typing" hooks with your app settings was a little varied. The result would look something like the below:
React Redux v9.1.0 adds a new
.withTypes
method to each of these hooks, analogous to the.withTypes
method found on Redux Toolkit'screateAsyncThunk
.The setup now becomes:
What's Changed
hook.withTypes<RootState>()
method by @aryaemami59 in https://github.com/reduxjs/react-redux/pull/2114New Contributors
Full Changelog: https://github.com/reduxjs/react-redux/compare/v9.0.4...v9.1.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Renovate Bot.