Kind: Function
Source: src/jsx/hooks/index.ts
Part of: Jsx
Signature
tsfunction useCallback(callback: T, deps: readonly unknown[]): T
Parameters
| Name | Type |
|---|---|
callback | T |
deps | readonly unknown[] |
Returns: T
Used by
2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
Imported by (2)
FormContext—src/jsx/dom/hooks/index.ts:24clearCache—src/jsx/dom/intrinsic-element/components.ts:18
Was this page helpful?