diff --git a/docs/guides/debouncing.md b/docs/guides/debouncing.md index c74b7e27..894b3ee5 100644 --- a/docs/guides/debouncing.md +++ b/docs/guides/debouncing.md @@ -58,7 +58,7 @@ searchInput.addEventListener('input', (e) => { }) ``` -> **Note:** When using React, prefer `useDebounceCallback` hook over the `debounce` function for better integration with React's lifecycle and automatic cleanup. +> **Note:** When using React, prefer `useDebouncedCallback` hook over the `debounce` function for better integration with React's lifecycle and automatic cleanup. ### Advanced Usage with `Debouncer` Class @@ -283,4 +283,4 @@ Each framework adapter builds convenient hooks and functions around the debounce --- -For asynchronous debouncing (e.g., API calls, async operations), see the [Async Debouncing Guide](../async-debouncing.md). \ No newline at end of file +For asynchronous debouncing (e.g., API calls, async operations), see the [Async Debouncing Guide](../async-debouncing.md).