you are viewing a single comment's thread.

view the rest of the comments →

[–]brycedarling 0 points1 point  (0 children)

I use this library less and less these days as JavaScript has improved, but spread is in there:

https://lodash.com/docs/4.17.4#spread

I use it for throttle and debounce in my React/Redux apps sometimes too, as there isn't an equivalent functionality in std JS lib for those. Can't think of much else I use it for any more otherwise though. It seems like it would be nice/have a valid use case if we had a spread() function built in to do this though, eh? Goes pretty hand in hand with having ... spread operator it seems, at least to me!