Complains about using "Date.now()" without explicitly calling `await connection()`
Unanswered
Chippiparai posted this in #help-forum
ChippiparaiOP
I started using
and now get errors during build:
Error: Route "/[lang]/note/[handle]" used
Why is this now checked and how can I override this? I'm creating the year in the footer, so shouldn't cause hydration issues.
experimental: {
ppr: 'incremental',
dynamicIO: true,
},and now get errors during build:
Error: Route "/[lang]/note/[handle]" used
Date.now() instead of using performance or without explicitly calling await connection() beforehand.Why is this now checked and how can I override this? I'm creating the year in the footer, so shouldn't cause hydration issues.
1 Reply
ChippiparaiOP
Ok, I got even more problems with
I wonder why the documentation talks me into using it. https://nextjs.org/docs/app/api-reference/functions/unstable_cache
dynamicIO : edge runtime not supported, export dynamic not supported ...I wonder why the documentation talks me into using it. https://nextjs.org/docs/app/api-reference/functions/unstable_cache