What is the location of your example repository?
https://github.com/chrisvltn/react-router-issue-reproduction
Which package or tool is having this issue?
React Router
What version of Remix are you using?
React Router 7.10
Steps to Reproduce
Not really Hydrogen issue, but posting here, as we faced it during the Hydrogen 2025.7 upgrade (React Router upgrade), and is most relevant for Hydrogen users.
React Router forces the module resolution to use node, meaning some dependencies might break the code after the upgrade.
In our case it was algoliasearch (big Shopify Partner), as they have a node export, and leave browser/workers with the default export, which Vite won't pick up anymore, as React Router forces node to be used first.
Here is the issue in react-router: remix-run/react-router#14730
Expected Behavior
Node imports not to be used.
Actual Behavior
Node imports are used before default.