4 ms·
Quick note to the author if they see this. The lodash Babel plug-in automatically takes care of only importing the used functions to keep your lodash imports u
by wjossey 8y ago
Quick note to the author if they see this.
The lodash Babel plug-in automatically takes care of only importing the used functions to keep your lodash imports under control. I’d recommend adding that note to your lodash section.
Thanks for taking the time to put this together! Always helpful.
- paulddraper 8y agoThat is the common recommendation. I've always been confused why that approach is preferred over a general purpose tree shaker.
- mostlystatic 8y agoOh cool! I didn't know about that, will add it to the article.