react-dnd / react-dnd-html5-backend

HTML5 backend for React DnD [Legacy Repo]
MIT License
145 stars 97 forks source link

Replace lodash with lodash.<fn> deps #41

Closed jakubzitny closed 8 years ago

jakubzitny commented 8 years ago

Hey there, we're using react-dnd-html5-backend from NPM and we're quite surprised by the size of the library. The whole react-dnd is taking 4.7M and almost all of that is only lodash. From lodash you're using only memoize, union, without and defaults functions. These are available separately from NPM taking only 148K.

I've already reported similar issue in react-dnd and also #39 might be related to this.

Would you be interested in a PR?

billyjanitsch commented 8 years ago

See https://github.com/gaearon/react-dnd/pull/517#issuecomment-244173416.

jakubzitny commented 8 years ago

Closing based on the conversation at https://github.com/gaearon/react-dnd/pull/517.