Open juhamust opened 6 years ago
Just a note on this if ever approved, but it would be super nice to not also require the latest and strict version of each module. I would guess the requirements for this package are much looser, perhaps (^4.0.0), or something like that.
I face this issue right now. Bloats up my bundle by 1M 😱
Thinking of releasing my own version of this package with this issue resolved with name much-better-react-spinkit
.
3 reacts and I'll do it.
Currently, better-react-spinkit requires whole lodash which increases the size of the bundle unnecessarily. Instead, use specific modules:
lodash.memoize
andlodash.range
https://github.com/bentatum/better-react-spinkit/search?utf8=%E2%9C%93&q=lodash&type=