Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Deno-powered framework for building business web apps
Go to Latest
function useDebugValue
import { useDebugValue } from "https://deno.land/x/netzo@0.3.91/deps/preact/hooks.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