hardReact
Create Error Boundary Component
Create a React error boundary that catches component errors and displays fallback UI.
Ensure function signatures match starter code to run test cases.
index.js
Loading...
Test Case #1
Input: Component throws error
Expected: Fallback UI displayed