Next.js Discord

Discord Forum

anybody here face with page fetched several times if we use promise in `generateMetadata` ?

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
I use promise in generateMetadata. when there is a loading page, the page and generateMetadata will get called multiple times when we navigate using <Link> to that page (its not gonna happen on production or if you navigate to that page directly)

I think what I have done is very usual. So I thought it might be my fault. But I can still reproduce it in new project.

https://github.com/vercel/next.js/issues/62515

0 Replies