New Component | ErrorBoundary #311
Labels
0.5 Story Points
issue size: .5
good first issue
Good for newcomers
help wanted
Extra attention is needed
new component
New base component
Create an Error Boundary component which renders a default fallback UI which shows the error in a user-friendly way.
Props API:
One thing to consider is how we can use the global analytics function from the context provider to wrap the onError function. (Error boundaries are all class components)
https://reactjs.org/docs/context.html
Here is a decent start:
The text was updated successfully, but these errors were encountered: