-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Which project does this relate to?
Router
Describe the bug
I’m not sure if this is the intended behavior, but once the statusCode is set to 404, it doesn’t change back to 200 even when navigating to a valid route afterward.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-eekdmazt?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue
- Confirm that the status code is
200. - Click on
nowhereand check that the status code changes to404. - Then, click on
aboutorhomeagain. - The status code does not change back to
200.
Expected behavior
When navigating to a valid route, the status code should be 200.
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.127.9
- OS: macOS
- Browser: Chrome
- Browser Version: [e.g. 91.1]
- Bundler: [e.g. vite]
- Bundler Version: [e.g. 7.0.0]
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels