We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24715b1 commit 24f3a7dCopy full SHA for 24f3a7d
src/useDebouncedCallback.ts
@@ -110,7 +110,7 @@ export interface DebouncedState<T extends (...args: any) => ReturnType<T>>
110
* window.addEventListener('popstate', debounced.cancel)
111
*
112
* // Check for pending invocations.
113
- * const status = debounced.pending() ? "Pending..." : "Ready"
+ * const status = debounced.isPending() ? "Pending..." : "Ready"
114
*/
115
export default function useDebouncedCallback<
116
T extends (...args: any) => ReturnType<T>,
0 commit comments