All challenges
Multiple ChoiceIntermediate 30s

Error boundaries React

Choose the best answer for: React error handling
Options
  1. 1Plain try/catch blocks wrapping each component's JSX render call
  2. 2ErrorBoundary catches render errors; shows fallback UI
  3. 3No error handling, so a render error blanks the whole tree
  4. 4Only CSS rules that hide broken components instead of a fallback UI

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle