Crash when navigating to route which has server POST handler
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.1k
- Forks
- 1.9k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 143
Description
Which project does this relate to?
Start
Describe the bug
When navigating to the route which has POST handler in browser the page crashes.
Complete minimal reproducer
https://github.com/valerii15298/tss-repros/tree/crash-get-server-route
Steps to Reproduce the Bug
In the repro got to /test route.
The page crashes
Expected behavior
The page should show not found component
Screenshots or Videos
No response
Platform
- Router / Start Version: look into package.json
- OS: macOS
- Browser: any
- Browser Version: any
- Bundler: vite
- Bundler Version: look into package json
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked minimal reproducer and its package.json, then navigate to the /test route. Trace the behavior when that route has a server POST handler and compare it with the expected not found component. Done when the route no longer crashes in the reported browser setup and shows the not found component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript, vite
- Domain
- backend, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100