Implementing an Error Boundary
Learn how you can catch possible errors in your application and prevent users from experiencing a mishap.
We'll cover the following...
There are two simple rules when it comes to implementing an error boundary:
- Only Class components can be turned into an error boundary.