react-scan icon indicating copy to clipboard operation
react-scan copied to clipboard

React Router7 compatibility

Open mcu13321 opened this issue 1 year ago • 1 comments

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"

mcu13321 avatar Dec 09 '24 13:12 mcu13321

Workaround for now:

package.json

    "overrides": {
        "react-scan": {
            "react-router": "^7.5.0"
        }
    }

acharron-hl avatar Apr 10 '25 22:04 acharron-hl