Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react-redux from 7.2.0 to 7.2.2 #133

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 17, 2021

Bumps react-redux from 7.2.0 to 7.2.2.

Release notes

Sourced from react-redux's releases.

v7.2.2

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

v7.2.1

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
  • Fixed a typo in a useSelector error message

Changes

  • Fix error message typo in useSelector ('You must pass a selector...). (@​Pixelwelder - #1581)
  • fix useSelector race condition with memoized selector when dispatching in child components useLayoutEffect as well as cDM/cDU (@​dai-shi - #1536)
  • removed a redundant object creation when using forceUpdate (@​vzaidman - #1567)
  • Rename internal forwardedRef usage (@​dtschust - #1553)
  • Show useSelector result in React DevTools (@​Finesse - #1530)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 17, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 23, 2021

Superseded by #138.

@dependabot dependabot bot closed this Mar 23, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-redux-7.2.2 branch March 23, 2021 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant