DEV Community

Discussion on: 14 functions I made to dump lodash and reduce my bundle size...

Collapse
 
hasnaindev profile image
Muhammad Hasnain

I have personally never used lodash because there has never been a need for me to do so. I just want to point out that lodash is tree shakable and will not contribute to bundle size a lot expect for the functions you've imported of course.

Collapse
 
miketalbot profile image
Mike Talbot ⭐ • Edited

See my point about the decisions it makes around polyfilling. For these 14 functions with lodash-es - which is better designed for tree shaking - I still saved a significant amount of bundle size.