Skip to content

QuizNot attempted

ssr: false

What do you give up with dynamic(() => import('./Chart'), { ssr: false })?
1–4 to choose, Enter to submit
Show answer & explanation

Correct answer:

  • The chart isn't in the server HTML: no SEO for it and a later first paint of that part
  • ssr: false skips server rendering for that component, so its markup isn't in the initial HTML: crawlers don't see it and it paints only after its JS loads.
  • Not interactivity: it is a normal Client Component once loaded.
  • Not browser APIs: client-only is exactly why you'd use it for window/canvas code.
  • Not code splitting: dynamic(import()) is code splitting.