Conditional render on Server side
Unanswered
LAWLESS posted this in #help-forum
LAWLESSOP
I have two server-side rendered pages, and I display them conditionally based on the query parameter in the URL. I'm wondering if, when one of the themes is satisfied, the other themes are still included in the client bundle. Additionally, on the right side of my code, I've tried using dynamic import to reduce server-side load. If I have, say, 1,000 themes that are conditionally rendered on the server, will the other themes be imported? If not, will the dynamic import load them on demand? Note: I am using Server components and SSR.