import { withAppErrorBoundary } from "https://deno.land/x/udibo_react_app@0.7.0/mod.tsx";
Wraps a component with an AppErrorBoundary. Any errors within the boundary will be captured by it. Unlike withErrorBoundary, withAppErrorBoundary can be used to render errors on the server. For the error on the server to be caught by it, it must have the same boundary.
Parameters
Component: ComponentType<P>
errorBoundaryProps: AppErrorBoundaryProps