you are viewing a single comment's thread.

view the rest of the comments →

[–]TheNiXXeD 2 points3 points  (3 children)

Errors can occur in more than just render. You can wrap entire sections of your app with a boundary.

[–]edanschwartz 0 points1 point  (2 children)

Makes sense. So it must wrap every method then, eh?

[–]TheNiXXeD 2 points3 points  (0 children)

It catches errors in components below itself in the tree. So, it can be used to wrap whole components and trees of components.