You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,9 @@ This library does not yet support React Suspense, but hopefully it will as soon
65
65
#### How can I debounce the request
66
66
67
67
It is possible to debounce a promise.
68
-
I recommend my package [awesome-debounce-promise](https://github.com/slorber/awesome-debounce-promise) instead, because it handles concucrrency issues and have React in mind (particularly building a debounced search input/autocomplete)
68
+
69
+
I recommend [awesome-debounce-promise](https://github.com/slorber/awesome-debounce-promise), as it handles nicely potential concurrency issues and have React in mind (particularly the common usecase of a debounced search input/autocomplete)
70
+
69
71
As debounced functions are stateful, we have to "store" the debounced function inside a component. We'll use for that [use-constant](https://github.com/Andarist/use-constant) (backed by `useRef`).
0 commit comments