-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Milestone
Description
Hello,
React-redux declare peer dependency to react:
redux-toolkit/packages/toolkit/package.json
Line 107 in aefeb46
| "react": "^16.14.0 || ^17.0.0", |
{
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0"
}
}Shouldn't this follow the react-redux peer dependency ?
Which is :
{
"peerDependencies": {
"react": "^16.8.3 || ^17 || ^18"
}
}As far as I understand the node dependencies, it should be the same.
The background of my question is related to a project where I'm stick to react 16.13.1 (A sharepoint framework project if it matters). This is an issue due to strict dependencies check policy,
The install process emits peer dependency warning, because the 16.14.0 isn't installed.
But actually, the code should work with 16.8.3, from the react-redux package, which is the actual dependent on react.
Am I right ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels