4 ms·
Looks like this will be removed in v5. "For example, throttle uses debounce internally. In a project using both methods from the main lodash package, throttle w
by stolenmerch 4y ago
Looks like this will be removed in v5. "For example, throttle uses debounce internally. In a project using both methods from the main lodash package, throttle will import the same debounce module as any code that imports debounce directly, so only one copy of debounce will wind up in a webpack bundle."
- afavour 4y agoLooks like the v5 deprecation is only the separate modules. "lodash/throttle" loads throttle.js in the lodash package. "lodash.throttle" loads index.js in the lodash.throttle package. The latter is being deprecated but not the former.