Next.js Discord

Discord Forum

Can you combine server side rendering or ISR with dynamically created components?

Answered
Pin-tailed Snipe posted this in #help-forum
Open in Discord
Avatar
Pin-tailed SnipeOP
I'm building a multi-tenant app that gets a tenant ID from the header and with that tenant ID fetches a JSON that determines which layout/components display to the user.

Is there a way to combine this dynamic UI requirement with the benefits of SEO that SSR or ISR provide?
Answered by B33fb0n3
yes you can, but keep in mind to check if you set up ISR correctly.

You can do that by checking the production env and log when there is a uncached serverside request
View full answer

3 Replies

Avatar
yeah, I think it's doable
Avatar
yes you can, but keep in mind to check if you set up ISR correctly.

You can do that by checking the production env and log when there is a uncached serverside request
Answer
Avatar