CodeZettaInterview Hub

Next.js · SSR · Senior · Best Practice

How does SSR interact with third-party scripts?

Short Interview Answer

Prefer next/script strategies; don't block HTML on non-critical scripts.

Detailed Explanation

Server HTML should remain useful without scripts. Hydration cost grows with client JS — keep client islands small even on SSR pages.

Did you know this answer?