QuizNot attempted
Deferring an expensive child
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
- It keeps the
<input>responsive to typing by letting the expensive list's re-render lag behind and be interrupted, rather than blocking the keystroke-driven update
- Passing
deferredTextlets React render the input's urgent update first and re-renderExpensiveListin a lower-priority, interruptible pass, so typing stays responsive (wrapExpensiveListinmemoso the urgent render can skip it). - Not 'never re-renders': it re-renders, just later.
- Not caching outputs: that is
memo/useMemo. - Not a Server Component: hooks can't change where a component runs.