Safeguarding against API Anomalies and Malformed Data
Class component feature for handling error. It catches errors in the components children, providing a fallback mechanism.
Creating an ErrorBoundary Component if user give an invalid pet ID.
Applying ErrorBoundary to details component.
Last updated 2 years ago