Class components and migration

Error Boundary reset

Changing a boundary key remounts it and its descendants. Repair the failing input as part of recovery.

Formal Syntax & Structure

react syntaxreact
<Boundary key={attempt}><Inspection record={record}/></Boundary>

Working Example

Example Snippetreact
<Boundary key={attempt}><Inspection record={record}/></Boundary>
React Reference