Performance: client:idle for deferred hydration
MEDIUM IMPACT
This affects the time it takes for interactive content to become usable by deferring hydration until the browser is idle.
<MyComponent client:idle />
<MyComponent client:load />
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| client:load hydration | Multiple DOM updates during hydration | Triggers 1 reflow per component hydrated immediately | Moderate paint cost during load | [X] Bad |
| client:idle hydration | DOM updates deferred until idle | Single reflow during idle hydration | Paint cost spread out, less blocking | [OK] Good |