Data Explorer: Reduce package size
Is your feature request related to a problem? Please describe. The bundled size of Data Explorer is currently 1.5MB, which is too large to be a reasonable component pulled in by other libraries.
Describe the solution you'd like Need to reduce the size of the package. Open to any suggestions for scoping the requirements down.
Describe alternatives you've considered
@emeeks I opened this issue for reducing the package size. Feel free to add your comments or possible solutions.
Looks like there are some unused deps like lodash in the package.json if that helps.
https://github.com/nteract/nteract/blob/master/packages/data-explorer/package.json#L30
Probably won't affect the webpack bundle, but styled-jsx can be deleted too. Those should be taken out anyways.
Similarly, react-hot-loader also appears to be unused, although its less than a 1 KB so it won't help much.
Semiotic itself takes the majority of the weight, as seen here - it suggests the bundle is currently 1.1 MB if minified.
This treemap could probably help with determining a bundle optimization strategy.
(interactive source: https://bundlephobia.com/result?p=@nteract/[email protected] )
This issue hasn't had any activity on it in the last 90 days. Unfortunately we don't get around to dealing with every issue that is opened. Instead of leaving issues open we're seeking to be transparent by closing issues that aren't being prioritized. If no other activity happens on this issue in one week, it will be closed. It's more than likely that just by me posting about this, the maintainers will take a closer look at these long forgotten issues to help evaluate what to do next. If you would like to see this issue get prioritized over others, there are multiple avenues 🗓:
- Ask how you can help with this issue 👩🏿💻👨🏻💻
- Help solve other issues the team is currently working on 👨🏾💻👩🏼💻
- Donate to nteract so we can support developers to work on these features and bugs more regularly 💰🕐
Thank you!
@emeeks Reopening and transferring this to the data explorer repo.
