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
Router
My current route - '/' Im trying to get page params like this:
'/'
const route = getRouteApi('/_auth/users/$userId') export function UsersList() { const { userId } = route.useParams({ shouldThrow: false }) ... }
but im getting error - Error: Invariant failed: Could not find an active match from "/_auth/users/$userId"
Also types for shouldThrow prop are wrong, it accepts only true but shoud accept any boolean value
shouldThrow
true
boolean
Expecting behavior, that im just get undefined in my userId value
userId
useParams
{ shouldThrow: false }
'/users/$userId'
expected not getting arror just get undefined value
No response
The text was updated successfully, but these errors were encountered:
i have this problem too
Sorry, something went wrong.
No branches or pull requests
Which project does this relate to?
Router
Describe the bug
My current route -
'/'
Im trying to get page params like this:
but im getting error - Error: Invariant failed: Could not find an active match from "/_auth/users/$userId"

Also types for

shouldThrow
prop are wrong, it accepts onlytrue
but shoud accept anyboolean
valueExpecting behavior, that im just get undefined in my
userId
valueYour Example Website or App
Steps to Reproduce the Bug or Issue
useParams
with{ shouldThrow: false }
prop for another route for example'/users/$userId'
Expected behavior
expected not getting arror just get undefined value
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: