Skip to content

Add React Error Boundary for crash resilience #37

@kmch4n

Description

@kmch4n

Summary

The app has no ErrorBoundary component. If a rendering error occurs (e.g., corrupted data causing a component to throw), the entire app becomes unresponsive with no recovery path.

Proposal

Add an ErrorBoundary wrapper around the tab navigator that catches rendering errors and shows a recovery UI (e.g., "Something went wrong — tap to retry"). This is especially important for the Dashboard and Calendar screens which perform complex data transformations during render.

Notes

  • Low effort, high impact on user experience.
  • Expo Router may provide built-in error boundary support — investigate before implementing a custom one.

Split from #36.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions