Skip to main content
Module

x/udibo_react_app/error.tsx>withAppErrorBoundary

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Go to Latest
function withAppErrorBoundary
import { withAppErrorBoundary } from "https://deno.land/x/udibo_react_app@0.4.0/error.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