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
chore(deps): bump react-redux from 7.2.6 to 8.0.1 #92
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit a65a009. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
This PR was failling because of typescript typing with the useDispatch. Until now we were using We can override the type for BUT: According to this stack overflow answer by the main maintainer of Redux Toolkit:
Which is an insane news for us because we were trying to avoid at all cost every possible circular dependencies but in this case, this one is accepted. Later in the answer you can read:
This PR then contain all these fixes. Furthermore, I unfortunately had to add some |
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.6 to 8.0.1. - [Release notes](https://github.com/reduxjs/react-redux/releases) - [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md) - [Commits](reduxjs/react-redux@v7.2.6...v8.0.1) --- updated-dependencies: - dependency-name: react-redux dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
9b6ff74
to
a65a009
Compare
@WilliamTraoreee , @gromon42 I ask both your opinion here because it's a major discovery about the cyclic dependency. Please read my previous comment before checking the changes. Let's talk about this during our v3 sync tonight |
A newer version of react-redux exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Eslint is saying there is a circular dependency between But when I generate the dep graph, I don't see any circular dependency between Which seems to validate what markerikson is saying on the stack overflow issue, that the transpiler knows how to deal with circular dependency when it's type only. |
🎉 This PR is included in version 1.0.0-staging.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Bumps react-redux from 7.2.6 to 8.0.1.
Release notes
Sourced from react-redux's releases.
... (truncated)
Commits
f54f918
Release 8.0.17b6270d
fix(ts): incorrect import ofSubscription
causes TS error (#1910)26ddc6a
remove unused import (#1908)709c10e
Merge pull request #1905 from phapdinh/issues/130215e8747
add note for mergePropsee81e96
Add optional peer dependency on@types/react-dom
(#1904)81203e6
Release 8.0.0d9464a7
Merge pull request #1902 from reduxjs/docs/v8-docs-updates885c1cc
Update docs for v8 final1da5216
Merge pull request #1897 from reduxjs/bugfix/v8-merge-dispatchpropDependabot 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 ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)