Skip to content

Why does useRoute return incorrect route? #2041

Closed Answered by posva
MRezaKarimi asked this question in Help and Questions
Discussion options

You must be logged in to vote

Because all navigations are async. The first time the route is ready is after await router.isReady()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants