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

x/udibo_react_app/mod.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.
Latest
function useAutoReset
import { useAutoReset } from "https://deno.land/x/udibo_react_app@0.19.0/mod.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