Update documentation and ErrorBoundary component

- Updated architecture documentation with refactoring notes
- Updated task documentation with progress
- Enhanced ErrorBoundary component for better error handling

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-04-30 20:43:41 +02:00
parent 3bd2a71367
commit f074882f2d
3 changed files with 11 additions and 39 deletions

View File

@@ -1616,6 +1616,7 @@ BanGUI implements **distributed tracing** via **correlation IDs** to correlate e
- Error boundaries: `frontend/src/components/{Error,Page,Section}ErrorBoundary.tsx`
- Catch render-time exceptions
- Log with telemetry for observability
- **Note:** `ErrorBoundary.componentDidCatch()` accesses `errorInfo.componentStack` which is not part of the public React.ErrorInfo type definition. This is a React DevTools implementation detail accessed via type casting (`as any`). It captures the React component hierarchy for debugging but may change in future React versions. See [React issue #3623](https://github.com/facebook/react/issues/3623) for context.
### Privacy & Security