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

Setup React error boundaries to prevent one component breaking the whole app #643

Closed
faival opened this issue Mar 29, 2018 · 1 comment
Closed
Assignees

Comments

@faival
Copy link
Contributor

faival commented Mar 29, 2018

Expected Behaviour

  • An error in a component does not affect the whole application, (e.g. rest of components are usable and state is reseted)

Actual behaviour

  • An error triggered on one component can break the whole application

Steps to reproduce

Notes

  • investigate with medium till POC
  • then create hard followup for implementation

Related issues

@faival faival self-assigned this Mar 29, 2018
@faival faival added the *medium label Mar 29, 2018
@faival faival changed the title Setup React error boundaries to prevent one component breaking the whole app - Pablo *medium Setup React error boundaries to prevent one component breaking the whole app Mar 29, 2018
@alepop
Copy link
Contributor

alepop commented Mar 29, 2018

@faival I hope it will help you https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html

@slaweet slaweet added the chore label Apr 12, 2018
faival added a commit that referenced this issue May 11, 2018
Setup React error boundaries to prevent one component breaking the whole app - Closes #643
@faival faival closed this as completed May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants