How to avoid multiple api call for generatemetadata
and page
in server component
#67409
Unanswered
udayshankark-qp
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the page.tsx which is a server component, we need to also display the content which needs api call and the same api call also has seo related information so that can be used for generatemetadata , so is there any way where we can avoid multiple api call in the same page.
Note: we dont want to catch the fetch api since the data changes frequently
Beta Was this translation helpful? Give feedback.
All reactions