From 6fa4e327759e08520b406681166c8382d3be44da Mon Sep 17 00:00:00 2001 From: bcacan <73470112+bcacan@users.noreply.github.com> Date: Tue, 21 Oct 2025 13:16:49 +0200 Subject: [PATCH] docs: typo in Debouncing Guide --- docs/guides/debouncing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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).