Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function useDebugValue
import { useDebugValue } from "https://deno.land/x/fathym_atomic_design_kit@v0.0.106/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