We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route.to
index
Router
The JS value of Route.to has a trailing slash, while the type does not.
https://stackblitz.com/edit/github-x8vduv4u?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Fposts%2Findex.tsx
/posts
The value should be /posts instead of /posts/.
/posts/
No response
Route.fullPath does have the trailing slash for both the type and the value. I expected Route.to to not have the trailing slash.
Route.fullPath
The text was updated successfully, but these errors were encountered:
to
from
/
No branches or pull requests
Which project does this relate to?
Router
Describe the bug
The JS value of
Route.to
has a trailing slash, while the type does not.Your Example Website or App
https://stackblitz.com/edit/github-x8vduv4u?file=src%2Froutes%2Findex.tsx,src%2Froutes%2Fposts%2Findex.tsx
Steps to Reproduce the Bug or Issue
/posts
Expected behavior
The value should be
/posts
instead of/posts/
.Screenshots or Videos
No response
Platform
Additional context
Route.fullPath
does have the trailing slash for both the type and the value.I expected
Route.to
to not have the trailing slash.The text was updated successfully, but these errors were encountered: