-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
Cannot Fetch Query Parameters #14
Comments
@jaimysimon I am having the above problem. Can you please have a look. |
Can you add a NeetoRecord video explaining exactly what the problem is? For me, it is working as expected, so maybe I didn’t understand the issue correctly. |
https://sarthakashmira.neetorecord.com/watch/804f3ad3c839b08b1c69 |
@jaimysimon |
Yes, it invokes useLocation, what I meant is |
@jaimysimon |
Could be related:
I will also take a further look at it, you can use the workaround right now. |
Actually I read about it and it clearly specified that useLocation can access current url string ,therefore I searched on whether it doesnt work due to version issue as now 7 version of react router is published and we were using 5 version.Therefore my head was all around useLocation only. |
Inside Home/index.jsx my query parameters are changing whenever I am entering any data inside the Input tag.But on re rendering the component the latest values are not being fetched by the useQueryParams() custom hook from the url.
The text was updated successfully, but these errors were encountered: