We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useUpdateSearchParams
I am using the useUpdateSearchParams API to set a query parameter on the route. It is working fine on web.
const updateParams = useUpdateSearchParams() updateParams({ threadId: item.id }, { webBehavior: "replace" })
This does not work on mobile. The following log statement is always empty:
const params = useSearchParams() useEffect(() => { console.info(`Params: ${params?.toString()}`) }, [params])
No response
- Solito: 4.2.2 - Next.js: 13.5.6 - Expo: 50.0.14 - React Native: 0.73.6
The text was updated successfully, but these errors were encountered:
As a workaround, manually setting the query param works fine for my use case: router.replace(``/chat?threadId=${item.id}``)
router.replace(``/chat?threadId=${item.id}``)
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
I am using the
useUpdateSearchParams
API to set a query parameter on the route. It is working fine on web.This does not work on mobile. The following log statement is always empty:
Expected Behavior
No response
Steps To Reproduce
No response
Versions
Screenshots
No response
Reproduction
No response
The text was updated successfully, but these errors were encountered: