[🐞] prevUrl
of the useLocation()
is set even if the first view.
#6625
Labels
COMMUNITY: good first issue
Good for newcomers
COMMUNITY: PR is welcomed
We think it's a good feature to have but would love for the community to help with the PR for it
COMP: qwik-city
TYPE: bug
Something isn't working
Which component is affected?
Qwik City (routing)
Describe the bug
I have tried to detect the SPA navigation.
I expected the
loc.prefUrl
isundefined
at the first render, but it is already set to the URL of the page at the very beginning.Reproduction
https://stackblitz.com/edit/qwik-starter-q5hnsb?file=src%2Froutes%2Findex.tsx
Steps to reproduce
No response
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: