- withSentry<P, R>(OrigApp, options?): R
-
Type Parameters
-
P extends Record<string, unknown>
-
R extends FunctionComponent<P, R>
Parameters
-
OrigApp: R
-
options: {
errorBoundaryOptions?: ErrorBoundaryProps;
wrapWithErrorBoundary?: boolean;
} = ...
-
Optional
errorBoundaryOptions?: ErrorBoundaryProps
-
Optional
wrapWithErrorBoundary?: boolean
Returns R
Wraps a remix
root
(see: https://remix.run/docs/en/v1/guides/migrating-react-router-app#creating-the-root-route) To enable pageload/navigation tracing on every route. Also wraps the application withErrorBoundary
.