useSearchParams not working in HashRouter #10274
Replies: 1 comment
-
same issue here, but it's working when I put the "#" symbol before "?" in url |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I would like to know if this is the default behaviour for

useSearchParams
to only operate in<BrowserRouter>
.Currently
useSearchParams
returns an empty object on<HashRouter>
.Please check the attached screenshot
Code implementation:
Beta Was this translation helpful? Give feedback.
All reactions