Skip to content

feat: add global error boundary to prevent full app crashes#377

Merged
thecodedcoder merged 1 commit intoThinkLikeAFounder:mainfrom
0xDeon:feat/error-boundary
Mar 30, 2026
Merged

feat: add global error boundary to prevent full app crashes#377
thecodedcoder merged 1 commit intoThinkLikeAFounder:mainfrom
0xDeon:feat/error-boundary

Conversation

@0xDeon
Copy link
Copy Markdown
Contributor

@0xDeon 0xDeon commented Mar 28, 2026

Closes #338

Changes

  • Imported the existing ErrorBoundary component into layout.tsx
  • Wrapped <main className="min-h-screen">{children}</main> with <ErrorBoundary>
  • Runtime errors now display the fallback UI (with Try Again / Return Home buttons) instead of crashing the entire app

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@0xDeon Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Wraps the root layout's main content with the existing ErrorBoundary
component so runtime errors show a fallback UI instead of crashing
the entire application.

Closes ThinkLikeAFounder#338
@0xDeon 0xDeon force-pushed the feat/error-boundary branch from 8e1578a to cfe77ed Compare March 28, 2026 22:38
@thecodedcoder thecodedcoder merged commit 5ac6bbb into ThinkLikeAFounder:main Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance: Frontend has no React Error Boundary — single error crashes entire app

2 participants