Material-table: Better treeshaking and webpack bundle size for optional features / tooltips optional

Created on 4 Oct 2019  路  2Comments  路  Source: mbrn/material-table

Recently i am spending a lot of time on optimizing the size of my bundle.

What i found out is, that even i do not use the drag&drop- and tooltip-Feature, react-beautiful-dnd and popper.js still become included in the webpack bundle, which means ~380KB useless code in my bundle.

  1. It would be very nice if tooltips would be an optional feature
  2. It would be very nice if tooltips and/or drag&drop are optional, the related libraries are not included into the webpack bundle, which means better treeshaking.
enhancement help wanted wontfix

Most helpful comment

PRs are very welcome.

All 2 comments

PRs are very welcome.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

Was this page helpful?
0 / 5 - 0 ratings