-
Notifications
You must be signed in to change notification settings - Fork 49
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
Prevent application crashes with error boundaries #206
Comments
Hi @zrthxn - I could try to take a look at this one. Could you give any more detail on specific components you would like to apply the Error Boundary to? Any class of errors you are most trying to prevent? |
The application was susceptible to crashes usually caused by "cannot read property ... of undefined/null" errors. I took care to make sure, as best I could, to prevent these in #229 and #231. However this is not completely guaranteed as this is a JS app and we can't properly fix these things ahead-of-time. The error boundary needs to mostly prevent the following types of errors
Currently what we have is a The following components are the ones where errors are likely to happen (not that they currently do) Further details and advice on the direction of this whole application can be taken from @jennydaman. And you can also talk to me about any of the code I've written. |
Ok thanks @zrthxn . I will take a look at this! Will get back if I have any questions/other items. |
Hey another quick question @zrthxn @jennydaman - are feature branches off of master what we should be using? Any branch naming conventions to be aware of? |
@TateDeVito |
Got it. Working off of a new branch called |
I would like to work on it if it's still there. Kindly assign it to me @jennydaman . Thanks! |
That would be great! There are so many modern features new to React which would greatly benefit this codebase. |
Any update here? @jennydaman We could also implement a |
2.0 Milestone
https://reactjs.org/docs/error-boundaries.html
The text was updated successfully, but these errors were encountered: