All the dynamic routes and sometimes static are displaying the home content
Unanswered
American black bear posted this in #help-forum
American black bearOP
After completing migration from react to #nextjs14 i deployed my app on vercel but i'm facing some weird behavior of nextjs
my dynamic route which are working in local are not working as expected in prod. all the dynamic routes and sometimes static are displaying the home content. The content does not change only the url gets change.
i don't know how to fix it but it is very bad experience. i hit reload and then it works for static routes but even hard reload is not working for dynamic routes in prod.
as you can see in the image only url changed not the content.
but it is working fine in local
my dynamic route which are working in local are not working as expected in prod. all the dynamic routes and sometimes static are displaying the home content. The content does not change only the url gets change.
i don't know how to fix it but it is very bad experience. i hit reload and then it works for static routes but even hard reload is not working for dynamic routes in prod.
as you can see in the image only url changed not the content.
but it is working fine in local