nice-node
nice-node copied to clipboard
chore(deps): bump react-redux from 8.1.3 to 9.1.0
Bumps react-redux from 8.1.3 to 9.1.0.
Release notes
Sourced from react-redux's releases.
v9.1.0
This minor release adds a new syntax for pre-typing hooks.
.withTypesPreviously, the approach for "pre-typing" hooks with your app settings was a little varied. The result would look something like the below:
import type { TypedUseSelectorHook } from "react-redux" import { useDispatch, useSelector, useStore } from "react-redux" import type { AppDispatch, AppStore, RootState } from "./store"export const useAppDispatch: () => AppDispatch = useDispatch export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector export const useAppStore = useStore as () => AppStore
React Redux v9.1.0 adds a new
.withTypesmethod to each of these hooks, analogous to the.withTypesmethod found on Redux Toolkit'screateAsyncThunk.The setup now becomes:
import { useDispatch, useSelector, useStore } from "react-redux" import type { AppDispatch, AppStore, RootState } from "./store"export const useAppDispatch = useDispatch.withTypes<AppDispatch>() export const useAppSelector = useSelector.withTypes<RootState>() export const useAppStore = useStore.withTypes<AppStore>()
What's Changed
- Update hooks.md — reselect usage with multiple instances simplified by
@VorontsovIEin reduxjs/react-redux#2110- Modernize ESLint configuration by
@aryaemami59in reduxjs/react-redux#2115- Introduce pre-typed hooks via
hook.withTypes<RootState>()method by@aryaemami59in reduxjs/react-redux#2114New Contributors
@VorontsovIEmade their first contribution in reduxjs/react-redux#2110Full Changelog: https://github.com/reduxjs/react-redux/compare/v9.0.4...v9.1.0
v9.0.4
This bugfix release updates the React Native peer dependency to be
>= 0.69, to better reflect the need for React 18 compat and (hopefully) resolve issues with thenpmpackage manager throwing peer dep errors on install.What's Changed
- Allow react-native newer than 0.69 as peer dependency by
@R3DST0RMin reduxjs/react-redux#2107Full Changelog: https://github.com/reduxjs/react-redux/compare/v9.0.3...v9.0.4
v9.0.3
This bugfix release drops the ReactDOM / React Native specific use of render batching, as React 18 now automatically batches, and updates the React types dependencies
... (truncated)
Commits
4ebe6e9version 9.1.094fc5a3Merge pull request #2114 from aryaemami59/withTypes349e0f0Remove unusedTypedUseSelectorHookimports78cdeacMerge branch 'master' of https://github.com/reduxjs/react-redux into withTypes4b63c88Merge pull request #2115 from aryaemami59/update-dev-depsb3c8498Update.eslintrc.jsonto remove duplicate config7cf1383Addhooks.withTypes()to docs4360ff4Add JSDocs foruseStore8f84eb9ExportUseDispatchtype and organize exports0e60aa7Add JSDocs foruseDispatch- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Deploy Preview for nndesign failed.
| Name | Link |
|---|---|
| Latest commit | 92201faf7a18b9a94e6e0ffd5ee5b9aa6c41b5a5 |
| Latest deploy log | https://app.netlify.com/sites/nndesign/deploys/6627f6703b76630008fc0278 |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.