-
Notifications
You must be signed in to change notification settings - Fork 30
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
Error boundries #43
Comments
How does this work? Wrap stuff in try catch? |
I like the idea though. |
yeah, pretty much haha |
I saw this on twétèr and thought the idea was interesting too. Would this be something baked in to nanocomponent or could it be maintained as a standalone module? |
Think having it be part of NC would be good - isolates a class of errors /
unlike servers you'll most likely never want a full page to crash
…On Mon, Aug 7, 2017, 19:33 Nate Goldman ***@***.***> wrote:
I saw this on twétèr and thought the idea was interesting too. Would this
be something baked in to nanocomponent or could it be maintained as a
standalone module?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWlejQZJMKloyjeZlNo6AAm8tGooAhzks5sV0pRgaJpZM4OvmfY>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In React 16 components introduce something new called error boundries. The main idea is that if an error is thrown from a component, it can be caught early, and prevents crashing the whole web page.
I find this interesting because:
component.use
(or similar); can send through the error to a local dev logger, or monitoring solutionThoughts?
The text was updated successfully, but these errors were encountered: