Next.js Discord

Discord Forum

Why does useSearchParams require being wrapped in suspense? I only need its values for data fetching

Unanswered
Greenish Elaenia posted this in #help-forum
Open in Discord
Greenish ElaeniaOP
I want to take the useSearchParams values to do a fetch call and show THAT data, not the search params values themselves.
Who is this supposed to help? https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout

0 Replies