Using next/dynamic in the server components (app router)
Unanswered
Alapaha Blue Blood Bulldog posted this in #help-forum
Alapaha Blue Blood BulldogOP
Hello! What happens if I use the dynamic import in the app router pages? It seems to work but I wonder does it switch to client side rendering at some point due to that or not?
The use case is that I'm migrating a NX monorepo library from client component to server component and the library is used in apps that uses the pages router too. So the library has both - client and server component and since the client component is imported dynamically in one app the NX module boundaries error prevents me from importing it statically in the app router application
The use case is that I'm migrating a NX monorepo library from client component to server component and the library is used in apps that uses the pages router too. So the library has both - client and server component and since the client component is imported dynamically in one app the NX module boundaries error prevents me from importing it statically in the app router application