Why React Error Boundaries Are Still Class Components
If a child component throws during render, React can unmount the whole subtree beneath it. Related: React State Management Patterns—another area where the class-vs-hooks split shows up in practice.
Without containment, one bad leaf can leave users st...
helloashish.hashnode.dev4 min read