React Error Boundaries in Functional Components
I was working on a React project for a US-based client, and I ran into a situation where one faulty component crashed the entire app. The problem was clear—React needed an error boundary. But error boundaries were originally designed for class components, and I mostly use functional components. After a bit of research and trial-and-error, … Read more >>