import * as netzo from "https://deno.land/x/netzo@0.4.87/deps/usehooks-ts.ts";
Variables
Custom hook for using either |
Functions
Custom hook for handling boolean state with useful utility functions. | |
Custom hook for handling click events anywhere on the document. | |
Custom hook for copying text to the clipboard. | |
A hook to manage countdown - Legacy interface | |
Custom hook that manages a counter with increment, decrement, reset, and setCount functionalities. | |
Custom hook that returns the current state of the dark mode. | |
Custom hook for debouncing a value. | |
Hook to create a debounced version of a callback function. | |
Returns a debounced version of the provided value, along with a function to update it. | |
A hook to set the document title. | |
A hook for creating a memoized event callback. | |
Custom hook for tracking whether a DOM element is being hovered over. | |
Custom hook for handling image loading events and providing related CSS styles. | |
Custom hook for creating an interval that invokes a callback function at a specified delay. | |
Custom hook for determining if the code is running on the client side (in the browser). | |
Custom hook for determining if the component is currently mounted. | |
Custom hook for using local storage to persist state across page reloads. | |
Custom hook for locking and unlocking the body scroll to prevent scrolling. | |
Custom hook for managing a key-value map state with setter actions. | |
Custom hook for tracking the state of a media query. | |
Custom hook for handling clicks outside a specified element. | |
Custom hook for observing the size of an element using the ResizeObserver API. | |
Custom hook for dynamically loading scripts and tracking their loading status. | |
Custom hook for using session storage to persist state across page reloads. | |
Custom hook for managing and navigating between steps in a multi-step process. | |
Custom hook for managing ternary (system, dark, light) dark mode with local storage support. | |
Custom hook for handling timeouts in React components. | |
Custom hook for managing a boolean toggle state in React components. | |
Hook that runs a cleanup function when the component is unmounted. | |
Interfaces
Represents the actions available to interact with the map state. | |
Represents the state and control functions of a debounced callback. Subsequent calls to the debounced function return the result of the last invocation. Note: If there are no previous invocations, the result will be undefined. Ensure proper handling in your code. | |
Configuration options for controlling the behavior of the debounced function. | |
Type Aliases
Represents the type for either a Map or an array of key-value pairs. | |