Question Bank

React Error Boundaries and StrictMode Quiz

Difficulty: Medium

Four drills on class-component error boundaries and how React.StrictMode surfaces effect bugs by double-invoking lifecycles in development.

Question Bank
/

React Error Boundaries and StrictMode Quiz

React Error Boundaries and StrictMode Quiz

Four drills on class-component error boundaries and how React.StrictMode surfaces effect bugs by double-invoking lifecycles in development.

Question Bank
Medium
JavaScript
4 questions
quiz
react
hooks
error-handling

570 views

16

Implement a class-based <ErrorBoundary> that catches render errors in its subtree and shows a fallback. Wrap a <Crashy> child with it.