3 ms·
It's not, but for 3 functions, and reducing our dependencies, it was worth just cutting lodash out. We have been happy with the change. EDIT: And to be a bit p
by toastercat 4y ago
It's not, but for 3 functions, and reducing our dependencies, it was worth just cutting lodash out. We have been happy with the change.
EDIT: And to be a bit pedantic, importing single modules is not really treeshaking. You're literally just importing and including the entirety of single modules.
- joshmanders 4y ago> EDIT: And to be a bit pedantic, importing single modules is not really treeshaking. You're literally just importing and including the entirety of single modules. I'd say that's basically a poor man's treeshaking because you're telling it you only want that module and its dependencies. Not it trying to figure it out for you.