Added ErrorBoundary to the web app

Created
Sep 4, 2021 07:44 AM
Category
Improvement
notion image
 
For the web app, if any module fails to load (for example, due to network failure), it will trigger an error and crash the site. For this reason, I'm adding ErrorBoundary. Now whenever there is a network error, instead of crashing, it will display an error state indicating the user to refresh the page once again.
 
notion image