Skip to main content
Hooks in the Extended Common library package up interaction logic that is awkward to get right by hand — debouncing, rate-limiting, and event coordination — behind a small, declarative API. Each hook ships from the package root.

Installation

npm install @servicetitan/anvil2-ext-common
Individual hooks may add their own peer dependencies — see each hook’s documentation.

Available hooks

  • useInputGuards — debounces a text input and rate-limits an expensive onCommit callback across typing, paste, Enter, and clear.
Last modified on June 22, 2026