Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function useDebugValue
import { useDebugValue } from "https://deno.land/x/fathym_atomic_design_kit@v0.0.120-integration/src/src.deps.ts";

Customize the displayed value in the devtools panel.

Parameters

value: T

Custom hook name or object that is passed to formatter

optional
formatter: (value: T) => any

Formatter to modify value before sending it to the devtools