Closed
Description
I'm using React Router as a...
framework
Reproduction
Not sure if reproduction link is providable here
System Info
System:
OS: macOS 15.3.2
CPU: (10) arm64 Apple M1 Pro
Memory: 1.53 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.4.0 - ~/.nvm/versions/node/v22.4.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.8.1 - ~/.nvm/versions/node/v22.4.0/bin/npm
Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 134.0.6998.45
Safari: 18.3.1
npmPackages:
@react-router/dev: ^7.4.0 => 7.4.0
@react-router/express: ^7.4.0 => 7.4.0
@react-router/node: ^7.4.0 => 7.4.0
@react-router/remix-routes-option-adapter: ^7.4.0 => 7.4.0
react-router: ^7.4.0 => 7.4.0
vite: ^5.4.14 => 5.4.14
Used Package Manager
npm
Expected Behavior
RR7 doesn't throw an error of version mismatch.
Actual Behavior

The problem is when user uses website and we deploy a new change, instead of just reloading the page, RR7 throws error -> user sees "Error" page from ErrorBoundary for 0.5 sec and then the page reloads.