Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/udibo_react_app/mod.tsx>DefaultErrorFallback

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 DefaultErrorFallback
import { DefaultErrorFallback } from "https://deno.land/x/udibo_react_app@0.18.0/mod.tsx";

A simple error fallback component that can be used to show the error and provide a button for trying again. It takes a FallbackProps object with an error property, which represents the error that occurred, and a resetErrorBoundary function which is used to reset the error boundary. The error boundary automatically resets if the location changes.