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

x/udibo_react_app/error.tsx>useAutoReset

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

A hook that automatically resets the error boundary if the location changes. It takes a reset function and generates a new reset function that prevents multiple calls to the reset callback.

Parameters

reset: () => void