DEV Community

Discussion on: Debouncing in javascript✨

Collapse
 
brense profile image
Rense Bakker

In React 18 you do not have to debounce anymore unless you really only want something to happen after a very specific amount of time. Otherwise you can use the new useDeferredValue hook: reactjs.org/blog/2022/03/29/react-...

Collapse
 
aishanipach profile image
Aishanii

Sounds interesting.
Will definitely check this out!