Open
Description
Which project does this relate to?
Router
Describe the bug
When using file route like '/$params' with params containing spaces it is processed incorrectly on first load.
- If there is a Link on page, it doesn't have [data-status=active] attribute
- beforeLoad function have been called twice
For params without spaces it works fine. Also it works fine when browsing app.
Your Example Website or App
Steps to Reproduce the Bug or Issue
- Go to main page
- Click link 'a b c'
- Reload app
Expected behavior
- Link 'a b c' have a red border (there is [data-status=active] attribute)
- There is single message in console
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Chrome
- Version: "@tanstack/react-router": "^1.120.11"
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels