79235213

Date: 2024-11-28 20:16:59
Score: 1.5
Natty:
Report link

I encountered the same issue in two of my projects using Next.js 14 App Router and Axios for API integration. Fortunately, the problem was resolved by using the noStore() function.

You have to just add one function in your server component or the layout file.

You can refer to the documentation here: https://nextjs.org/docs/app/api-reference/functions/unstable_noStore

I’m confident this solution will work for you as well!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wali Ullah