next/link not working as expected in production
Unanswered
Cuban Crocodile posted this in #help-forum
Cuban CrocodileOP
I followed the latest next.js course using version 14 and I deployed the Invoice Dashboard app on Vercel https://nextjs-dashboard-three-livid.vercel.app/dashboard/customers but seems like
I've seen similar issues on Github but found no solution.
1. https://github.com/vercel/next.js/issues/9980
2. https://www.reddit.com/r/nextjs/comments/o16ep3/strange_issue_in_production_build_links/
Github repo - https://github.com/farhan787/nextjs-dashboard (followed exactly the same as in course, even matched my assignment solutions)
<Link> doesn't work as expected after deploying on production. The pagination data sometimes don't change, sometimes it doesn't move to next page at all while choosing a different page number from pagination bar while the url param ?page=x is updated. Link is behaving in totally unexpected way. I've seen similar issues on Github but found no solution.
1. https://github.com/vercel/next.js/issues/9980
2. https://www.reddit.com/r/nextjs/comments/o16ep3/strange_issue_in_production_build_links/
Github repo - https://github.com/farhan787/nextjs-dashboard (followed exactly the same as in course, even matched my assignment solutions)