Improve ErrorBoundary

Repository details (talkie)
Project page
talkie
Project log category
(708 entries)
Repository
@joelpurra/talkie
Owner
@joelpurra
Contributors
Contributors on Github
Project status
⏲️ This project has had recent commits.
📂 This project is open.
🌠 This project is popular.
Repository activity period
🗓
Commits
751 commits
Stars
72 stars
Commit details (1ba45374)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Improve ErrorBoundary

  • Use getDerivedStateFromError, even though it's not covering all relevant details.
  • Reduce assumptions regarding error types.
Raw text
Improve ErrorBoundary

- Use `getDerivedStateFromError`, even though it's not covering all relevant details.
- Reduce assumptions regarding error types.

Changed files (1)

Path Additions Deletions
code/packages/shared-ui/src/components/error-boundary.tsx +71 -34

Commit categories (3)