Snyk has created this PR to upgrade react-redux from 7.2.1 to 7.2.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago, on 2020-10-26.
This release improves useSelector value display in the React DevTools, fixes a potential race condition, and fixes a couple additional minor issues.
useSelector DevTools Display
The React DevTools normally show custom hooks with their inspected name (such as "Selector" for useSelector), and any calls to core hooks inside. This is not always informative, so React has the useDebugValue hook to allow custom hooks to specify what value should be shown instead.
useSelector now calls useDebugValue to specifically show the current selected value instead of its internal hooks usage.
Bug Fixes
This release has a few different bug fixes:
A potential race condition when dispatching actions from child components in the commit phase vs selecting data in a parent
Removed an excess new object creation when forcing a re-render
Our internal prop name for a forwarded ref is now reactReduxForwardedRef to avoid a rare situation where someone else might be passing down a field named forwardedRef
Snyk has created this PR to upgrade react-redux from 7.2.1 to 7.2.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: react-redux
This release allows you to use React Redux with React 17 without a warning when installing. That's about it.
Shameless self-promotion: Check out my new startup, Spaceship๐ . We're building the Continuous Delivery system of the future.
Changes
This release improves
useSelector
value display in the React DevTools, fixes a potential race condition, and fixes a couple additional minor issues.useSelector
DevTools DisplayThe React DevTools normally show custom hooks with their inspected name (such as "Selector" for
useSelector
), and any calls to core hooks inside. This is not always informative, so React has theuseDebugValue
hook to allow custom hooks to specify what value should be shown instead.useSelector
now callsuseDebugValue
to specifically show the current selected value instead of its internal hooks usage.Bug Fixes
This release has a few different bug fixes:
reactReduxForwardedRef
to avoid a rare situation where someone else might be passing down a field namedforwardedRef
useSelector
error messageChanges
Commit messages
Package name: react-redux
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
๐ง View latest project report
๐ Adjust upgrade PR settings
๐ Ignore this dependency or unsubscribe from future upgrade PRs