Unmet peer dependencies with React 18
I have a issues when use redux-injectors with React ^18.
FWIW I've just tested 2.0.0 with React 18 and react-redux 8.0.1, and things seem to be working fine AFAICT. Possibly React 18 compatibility is a no-op (and just needs the peer dependencies to be bumped), but I don't think I use all the advanced features of redux-injectors, so grain of salt.
@nixjs did u solve this issue?
@nixjs did u solve this issue?
i still have the above problem
@nixjs did u solve this issue?
I think update package.json in redux-injectors:
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0"
}
instead of:
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0",
"react-dom": "^16.6.0 || ^17.0.0"
}
The problem will be solved.
When do you upgrade new version to support react v18?
When do you upgrade new version to support react v18?
I forked and supported react v18: https://www.npmjs.com/package/@nixjs23n6/redux-injectors
@nixjs Nice Job! I hope some day redux-injectors do something like you did in your fork, basically using > and < between versions.
This is fixed in 2.1.0