Remove lodash sortby
Closed this issue · 2 comments
idarbuashvili commented
Hi, removing lodash.sortby and making it by hand should significantly reduce the size of the package. If you check https://bundlephobia.com/result?p=react-styled-carousel@0.5.1, you will see that nearly half of the library is lodash sortby. I checked the source and the function is used only in one place, so it should be quite ok to rewrite that portion with custom sort by code.
ItsMrAkhil commented
@idarbuashvili That's a valuable comment. I'll surely look into it.
idarbuashvili commented
Made the #39 pull request, this should do the job. :)