Using Error Boundaries in Katello

Hey all,

Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed. Error boundaries catch errors during rendering, in lifecycle methods, and in constructors of the whole tree below them.

This is just a suggestion to use Error Boundaries in React Code so that if child component fails to render by any reason, it would not affect Parent Component. If you find this https://reactjs.org/docs/error-boundaries.html useful, We can use it in our code.

2 Likes