Appearance
给自定义 hook 添加 React DevTools 的 label。默认显示状态值。
useDebugValue(value, format?)
参数:
value
format
用途: