slate icon indicating copy to clipboard operation
slate copied to clipboard

Cost effective lodash

Open nike1v opened this issue 11 months ago • 2 comments

Problem I'm investigating my current project to minimize the bundle size and how much data used for people to load, the only library I have in package that uses ALL lodash library as a package is slate.

Solution I'd like you to change all lodah imports to splitted modules (they are done not for fun). There are only 23 places where it is used, so it'll be quick fix.

Alternatives A clear and concise description of any alternative solutions or features you've considered.

Context If you want me to help you with this, so all slate packages will use effective version of lodash, where used, I can do this via PR. Just let me know, thanks!

nike1v avatar Mar 15 '24 01:03 nike1v

@nike1v I'm happy to review and land a PR for this change.

dylans avatar Mar 15 '24 12:03 dylans

It looks like this is fixed in https://github.com/ianstormtaylor/slate/pull/4245.

christianhg avatar Jul 26 '24 09:07 christianhg