Closed
Description
I'm using React Router as a...
framework
Reproduction
This could be really specific to the react-router-website, but there seems to be a bug in react-router@7.1.4
that breaks navigating via hashes
System Info
System:
OS: macOS 15.2
CPU: (12) arm64 Apple M4 Pro
Memory: 1.36 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.1 - ~/.nvm/versions/node/v22.13.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.13.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.13.1/bin/npm
pnpm: 9.15.4 - ~/Library/pnpm/pnpm
bun: 1.1.40 - ~/.bun/bin/bun
Browsers:
Chrome: 132.0.6834.160
Edge: 131.0.2903.112
Safari: 18.2
npmPackages:
@react-router/dev: 7.1.4 => 7.1.4
@react-router/express: 7.1.4 => 7.1.4
@react-router/node: 7.1.4 => 7.1.4
react-router: 7.1.4 => 7.1.4
vite: ^5.2.6 => 5.4.8
Used Package Manager
npm
Expected Behavior
Doesn't blow up the page