Multiple ChoiceIntermediate 30s
Error boundaries
Choose the best answer for: React error handling
Options
- 1ErrorBoundary catches render errors and shows fallback UI
- 2try/catch wrapped around the JSX inside the render method
- 3No error handling, so any render error crashes the app
- 4CSS rules catch the render error and display the fallback
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.