Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/netzo/deps/preact/hooks.ts>useImperativeHandle

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useImperativeHandle
import { useImperativeHandle } from "https://deno.land/x/netzo@0.4.40/deps/preact/hooks.ts";

Type Parameters

T
R extends T

Parameters

ref: PreactRef<T>

The ref that will be mutated

create: () => R

The function that will be executed to get the value that will be attached to ref.current

optional
inputs: Inputs

If present, effect will only activate if the values in the list change (using ===).