next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Docs:

Open Spartano opened this issue 1 year ago • 0 comments

What is the improvement or update you wish to see?

While following the dashboard tutorial, after adding the search component in chapter11 we get hidration error.

While asking chatgpt i got this answer: The useClient hook is typically used to determine if the code is running on the client side or server side. However, if you're still getting a hydration error, it's possible that the useSearchParams, usePathname, or useRouter hooks are being called on the server side before the client-side JavaScript has a chance to run.

Is there any context that might help us understand?

image image image

Does the docs page already exist? Please link to it.

https://nextjs.org/learn/dashboard-app/adding-search-and-pagination

Spartano avatar Mar 28 '24 15:03 Spartano