-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Which project does this relate to?
Router
Describe the bug
When using a directory that should skip matching the route using a postfixed _, any params that were postfixed with _ are getting excluded when using useParams({ from: "/test/$owner_" }). This used to work in 1.131.7 but no longer works in 1.131.40
Your Example Website or App
https://stackblitz.com/edit/github-z1rasdxr?file=src%2Froutes%2Ftest%2F%24owner_%2F%24entity.tsx
Steps to Reproduce the Bug or Issue
- Go to reproduction
- Click on
New entitynav item - Note that it outputs a blank
{}in the content of the page
Expected behavior
I expected to see { owner: "x" } since that's the parameters that should be resolved according to the types.
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.131.40
- OS: macOS
- Browser: Chrome
- Browser Version: 139
- Bundler: Vite
- Bundler Version: 6.3.5
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels