elite-se / elite-se.webpage

source code for the organisations main webpage
https://elite-se.xyz
MIT License
7 stars 0 forks source link

Feature/error boundary #18

Closed DominikHorn closed 4 years ago

DominikHorn commented 4 years ago

ErrorBoundary component/HOC wrapper can be used to prevent unlimited (Runtime-) Error propagation through the DOM tree. By default, any error will bubble up the entire DOM tree and take down the application, causing a blank white page to be rendered. ErrorBoundary components catch all errors, log them and prevent further bubbling by replacing their DOM subtree with a visual error message. This enhances usability for end users and developers alike.

I am unsure whether or not to designate an entire package to this component. Opinion @schmitob?

close #15