bottled
v1.0.1
Published
Batch + Throttle = Bottle
Maintainers
Readme
TODO: Create GIF of bottled components.
Overview
Lodash's debounce and throttle utilities both delay invoking a function
until a timeout has elapsed. The delayed function is invoked using the last
arguments it was provided.
However, there are many cases where it is useful to access ALL arguments provided to the delayed function during the timeout.
Bottled provides two functions, batchedDebounce and batchedThrottle, to do
just that.
Installation
Using npm:
$ npm install bottledExamples
TODO
React
TODO
Credits
Bottled proudly extends the functionality provided by
Lodash's debounce and throttle utilities.
License
MIT
GitHub @JohannCooper
