useDebounce

Debounce or throttle a reactive value, so an expensive reaction (an API call, a filter over thousands of rows) runs once the input settles. Timers stop with the component: nothing is written after unmount.

Install: pnpm add-composable useDebounce

Debounced search

Delay reacting to input until the user stops typing.

API