Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function useImperativeHandle
import { useImperativeHandle } from "https://deno.land/x/fathym_atomic_design_kit@v0.0.115-integration/src/src.deps.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 ===).