Skip to content

FE022: Handle screen crashes gracefully - #213

Open
bhanuja4776 wants to merge 1 commit into
mainfrom
FE022-handle-crashes-properly
Open

bhanuja4776 wants to merge 1 commit into
mainfrom
FE022-handle-crashes-properly

Conversation

@bhanuja4776

Copy link
Copy Markdown
Collaborator

Summary

  • add an app-wide React error boundary around routed screen content
  • show a token-based fallback with a Try again action that returns to Scan
  • log the original error and React component stack for diagnosis
  • preserve Expo's development red error overlay by rethrowing in development

Validation

px eslint components/errorHandling/AppErrorBoundary.tsx app/_layout.tsx

The repository-wide lint and type checks still report pre-existing errors outside this ticket.

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.

1 participant