Skip to content

useRouter() / useRoute() inferred incorrectly #396

Closed Answered by vzakharov
vzakharov asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, so I figured it only works with file-based routes, which kind of makes sense in terms of ease of parsing I guess. Sorry for getting the wrong impression!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vzakharov
Comment options

Answer selected by posva
@posva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #395 on May 25, 2024 10:22.