스트리밍 CSS는 collect·insert·clear·hydrate 순서를 지킨다

각 chunk의 콘텐츠가 보이기 전에 대응하는 style이 도착해야 첫 화면과 hydration이 일치한다.

render

Rule collect

현재 서버 render의 style을 sheet에 모음

before chunk

Server insert

useServerInsertedHTML로 콘텐츠 앞에 주입

after insert

Clear tag

이미 보낸 rule이 다음 chunk에 중복되지 않게 비움

browser

Hydration

서버 class를 재사용하며 client 주입으로 전환

핵심style 누락은 주입 경계, 중복은 sheet 재생성·clear 누락, hydration 경고는 버전과 client 경계를 확인한다.