yarn use-debounce 8.0.0

latest releases: 10.0.4, 10.0.4-beta, 10.0.3...
2 years ago
  • breaking change 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';
  • Fixed issue with incorrect VSCode autocomplete #131 Thanks to @c-ehrlich for reporting
  • Fixed useDebounce behaviour with react-devtools tab when devtools have a component with useDebounce or useDebounceCallback opened. #129 Thanks to @alexniarchos for reporting
  • Fixed issue with leading: true #124 Thanks to @mntnoe for reporting

Don't miss a new use-debounce release

NewReleases is sending notifications on new releases.