Next.js Discord

Discord Forum

dynamicIO used new Date() instead of using performance

Unanswered
Cinnamon posted this in #help-forum
Open in Discord
CinnamonOP
used new Date() instead of using performance or without explicitly calling await connection() beforehand. See more info here: https://nextjs.org/docs/messages/next-prerender-current-time

getting this error in production...this is firing in my google analytics and google tag manager, so I don't have the ability to edit these 3rd party scripts.

the ask is, how can I mark this component dynamic while leveraging dynamicIO

I've outlined details here

https://github.com/vercel/next.js/issues/76569#issuecomment-2901390358

0 Replies