• 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 with ErrorBoundary.

    Type Parameters

    • P extends Record<string, unknown>

    • R extends FunctionComponent<P, R>

    Parameters

    • OrigApp: R

      The Remix root to wrap

    • options: {
          errorBoundaryOptions?: ErrorBoundaryProps;
          wrapWithErrorBoundary?: boolean;
      } = ...

      The options for ErrorBoundary wrapper.

      • Optional errorBoundaryOptions?: ErrorBoundaryProps
      • Optional wrapWithErrorBoundary?: boolean

    Returns R

Generated using TypeDoc