use-debounce
Advanced tools
Changelog
8.0.2
Changelog
8.0.0
useDebounce
changed its build system to microbundle. For now we have several entries:index.js
is for commonJS approach
index.modern.js
for esnext module system
index.umd.js
for UMD.
All the files are in dist
folder.
If you have any paths which have esm
or lib
, please, replace them to dist
:
Before:
import useDebounceCallback from 'use-debounce/lib/useDebounceCallback';
After:
import { useDebounceCallback } from 'use-debounce';
useDebounce
behaviour with react-devtools tab when devtools have a component with useDebounce
or useDebounceCallback
opened. https://github.com/xnimorz/use-debounce/issues/129 Thanks to @alexniarchos for reportingleading: true
https://github.com/xnimorz/use-debounce/issues/124 Thanks to @mntnoe for reportingChangelog
7.0.1
debounced
object now is preserved for use-debounce
between the renders. Thanks to @msharifi99 for reporting.