Bundle Size
Closed this issue · 0 comments
mjsisley commented
Great library!
Wanted to discuss bundle size.
raw: 285.28kb
gzipped: 26.56kb
This is quite large.
Looking at the source, it appears styled-components
and react
are listed as dependencies. Listing them as peerDependencies would be a quick win (and making a note in the docs that these need to be in the project as peers).
Otherwise, I have not looked into what is causing such a large bundle size, but perhaps bundling to allow the importing of only portions of the codebase needed (like rxjs
and lodash
do) would be helpful here.