react-scan
react-scan copied to clipboard
React Router7 compatibility
Describe the feature you'd like:
While resolving: [email protected] Found: [email protected] node_modules/react-router react-router@"^7.0.2" from the root project
Could not resolve dependency: peerOptional react-router@"^5.0.0 || ^6.0.0" from [email protected] node_modules/react-scan dev react-scan@"^0.0.42" from the root project
Conflicting peer dependency: [email protected] node_modules/react-router peerOptional react-router@"^5.0.0 || ^6.0.0" from [email protected] node_modules/react-scan dev react-scan@"^0.0.42" from the root project
Suggested implementation:
please add "^5.0.0 || ^6.0.0 || ^7.0.0"
Workaround for now:
package.json
"overrides": {
"react-scan": {
"react-router": "^7.5.0"
}
}