Angular v22 ships @boundary — a template-level error boundary that catches
render failures in a subtree and shows a fallback instead of crashing the whole
view.
@boundary {<app-heavy-widget [data]="data()" />} @error {<p class="error">Widget failed to render.</p>}Works like React’s error boundaries but lives in the template syntax. Especially useful in micro frontend shells where one failing component would otherwise take down the entire page.