You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is only happening when I deploy to Netlify i.e. in a production environment, so a little tricky to provide a reproduction here. Might be because I don't generate any paths at build time.
However I have added a sandbox which contains the exact component where I am importing the Link component provided by next-intl.
Without this, I do not get any DYNAMIC_SERVER_USAGE errors within Netlify.
With it, I am getting a lot of these errors.
I can't reproduce this problem locally.
I would say I am using my component in a mixture of server/client components, however itself it's a client component, so I'm not sure this should be a problem.
I am very new to RSC/App Router however so there may be a quirk I'm missing here.
Verifications
I've verified that the problem I'm experiencing isn't covered in the docs.
Description
This is only happening when I deploy to Netlify i.e. in a production environment, so a little tricky to provide a reproduction here. Might be because I don't generate any paths at build time.
However I have added a sandbox which contains the exact component where I am importing the Link component provided by next-intl.
Without this, I do not get any DYNAMIC_SERVER_USAGE errors within Netlify.
With it, I am getting a lot of these errors.
I can't reproduce this problem locally.
I would say I am using my component in a mixture of server/client components, however itself it's a client component, so I'm not sure this should be a problem.
I am very new to RSC/App Router however so there may be a quirk I'm missing here.
Verifications
Mandatory reproduction URL
https://codesandbox.io/p/devbox/cool-surf-27q97h
Reproduction description
Steps to reproduce:
Expected behaviour
DYNAMIC_SERVER_USAGE should not be triggered.
The text was updated successfully, but these errors were encountered: