Skip to content

Glossary: React Beyond the Basics

resetKeys

A list of values on an error boundary: when any changes, the boundary clears its error and tries again. The layout uses the current pathname so that navigating recovers from a crash. (resetErrorBoundary, by contrast, is the function a Try again button calls.)

Where the book teaches it

Related terms

error boundaryuseLocation