DEV Community

Discussion on: Handling Errors in React Components with Error Boundaries

Collapse
 
avinashlibrary profile image
AvinashLibrary • Edited

I have created proptypes and want to catch the error if the prop type fails.I tried using this method but failed to catch the exception.Can you please help.

New to React started just few days back.