Futurice Tech Weeklies

React Error Boundary ft. TDD with Testing Library (Audio Only)

April 9, 2021

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 talk, 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

 

Podbean App

Play this podcast on Podbean App