How to fix useSearchParams deopted into client-side rendering? #61925
Unanswered
muhammadali543
asked this question in
App Router
Replies: 1 comment
-
Hi, But, are you using |
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
-
After updating to Next.js 14.1, I get these build messages telling me that all my pages are deopted into client-side rendering due to "useSearchParams().
Here is an example from the terminal when running next build:
Entire page "/404" deopted into client-side rendering due to "useSearchParams()".
https://nextjs.org/docs/messages/deopted-i (link shows 404 - This page could not be found.)
Please fix this as soon as possible or change useSearchParams to new one. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions