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

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

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useDebugValue
import { useDebugValue } from "https://deno.land/x/netzo@0.4.40/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