You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/cyberstorm-remix/docs/error-boundary.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,7 @@ export { RouteErrorBoundary as ErrorBoundary } from "app/commonComponents/ErrorB
14
14
15
15
### TODO
16
16
17
-
- Consider replacing the error boundary in `root.tsx` with this one
18
17
- Use `RouteErrorBoundary` in route components
19
-
- Investigate if [error reporting](https://reactrouter.com/how-to/error-reporting) (via Sentry) should be done separately or implement as a part of the error boundary
20
18
- Add "retry buttons" (e.g. reloading the page on 500 series of errors)
21
19
- As `RouteErrorBoundary` is all-or-nothing solution when it comes to rendering, consider if there's a need for more granular non-route component level error boundaries. We might not need or want to use them, as error boundaries are intended more for render time errors, and any errors caused by user interaction should be handled by the component logic itself
22
20
- If it turns out we don't want other error boundaries, consider renaming `RouteErrorBoundary` to just `ErrorBoundary`
0 commit comments