From a31135a26d4adbfb0687544f0bd736a73163e78a Mon Sep 17 00:00:00 2001 From: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com> Date: Sat, 3 Oct 2026 11:10:52 -0400 Subject: [PATCH] Make the shipping error boundary render its fallback Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com> --- skills/shipping-and-launch/SKILL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skills/shipping-and-launch/SKILL.md b/skills/shipping-and-launch/SKILL.md index 900ba7f3..f94bb487 100644 --- a/skills/shipping-and-launch/SKILL.md +++ b/skills/shipping-and-launch/SKILL.md @@ -190,6 +190,12 @@ Client metrics: ```typescript // Set up error boundary with reporting class ErrorBoundary extends React.Component { + state = { hasError: false }; + + static getDerivedStateFromError() { + return { hasError: true }; + } + componentDidCatch(error: Error, info: React.ErrorInfo) { // Report to error tracking service reportError(error, {