Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/error boundary #18

Merged
merged 3 commits into from
Feb 27, 2020
Merged

Feature/error boundary #18

merged 3 commits into from
Feb 27, 2020

Conversation

DominikHorn
Copy link
Contributor

@DominikHorn DominikHorn commented Feb 27, 2020

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

@DominikHorn DominikHorn self-assigned this Feb 27, 2020
@DominikHorn DominikHorn linked an issue Feb 27, 2020 that may be closed by this pull request
@DominikHorn DominikHorn added the enhancement Enhancement of existing code/features label Feb 27, 2020
@toschmidt toschmidt merged commit 65c59c4 into development Feb 27, 2020
@toschmidt toschmidt deleted the feature/error-boundary branch February 27, 2020 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing code/features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Error Boundary Component
2 participants