Does useSearchParams read from the url onMount?
#418
kenedyolisi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
let's say I open a page
http://localhost:5173/post?page=5does theparams.pageread/sync to 5 or does it start from the default e.g 1. I am getting an error, hydration error I think if i open the page but no error if i openhttp://localhost:5173/posts.Beta Was this translation helpful? Give feedback.
All reactions