React Error Boundary ft. TDD with Testing Library - Layla Ouyang - Tech Weeklies

Опубликовано: 10 Апрель 2026
на канале: Futurice
1,032
12

Error Boundary is a React component that catches JavaScript errors anywhere in their child component tree, which enables graceful handling of runtime errors and offers a way to recover from them. The way it is used makes it important to have it well-tested.

In this edition of Tech Weeklies, Layla talks about what error boundaries are and why they are a valuable tool in your React toolbox. She also builds you an example of how to test those error boundaries with React Testing Library using Test-Driven Development.

Presenter: Layla Ouyang

*
*
*
Tech Weeklies from Futurice, is a series for techies and consultants, to share their experiences working on various frameworks, languages, techniques, services, and projects. We consultants live in a constantly changing world and the ability to adapt to those changes is important. That's why learning is such a key part of the Futurice culture. Tech Weeklies is one of the ways we share our knowledge inside and outside the company and learn from each other's knowledge, expertise, and experience.