Closed DemaPy closed 9 months ago
Reading NexJs amazing documentation I have found some mistake in word.
Import useRouter and usePathname from 'next/navigation', and use the replace method from userRouter() inside handleSearch:
Chapter 11
It would be nice to update it, since NextJs doesn't have this type of hook.
Developers will try to use it, and will have a problem.
https://nextjs.org/learn/dashboard-app/adding-search-and-pagination
@DemaPy I would like work on this issue
Thanks, Lee!
This is now fixed @DemaPy.
What is the improvement or update you wish to see?
Reading NexJs amazing documentation I have found some mistake in word.
Import useRouter and usePathname from 'next/navigation', and use the replace method from userRouter() inside handleSearch:
Chapter 11
Is there any context that might help us understand?
It would be nice to update it, since NextJs doesn't have this type of hook.
Developers will try to use it, and will have a problem.
Does the docs page already exist? Please link to it.
https://nextjs.org/learn/dashboard-app/adding-search-and-pagination