Handle SSR/SSG rendering and hydration correctly. Trigger: SSR, hydration, hydration mismatch, streaming.