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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user