next-learn
next-learn copied to clipboard
Docs:
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?
Does the docs page already exist? Please link to it.
https://nextjs.org/learn/dashboard-app/adding-search-and-pagination