You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The output of react-digraph is massive, far larger than it needs to be. There are some really easy things that can be done to cut down the size and boost performance.
Describe the solution you'd like
The first step in understanding the bloat of an application and where fat can be trimmed is by visualizing the problem. webpack-bundle-analyzer allows you to see what is included in your final prod build so you can start identifying modules that are heavier than you expect.
Describe alternatives you've considered
None
Additional context
The screenshot above is what you're able to visualize within this repo when using webpack-bundle-analyzer. One of the first things that stand out is the use of react-icons. This one module alone accounts for over 50% of the entire asset size of the react-digraph production build. I also noticed that this module is only used for the expand icon, so one single icon is costing 374k gzipped.
I've already done the work in adding webpack-bundle-analyzer to this repo, I am only opening this issue so I can make a PR to it.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The output of react-digraph is massive, far larger than it needs to be. There are some really easy things that can be done to cut down the size and boost performance.
Describe the solution you'd like
The first step in understanding the bloat of an application and where fat can be trimmed is by visualizing the problem.
webpack-bundle-analyzer
allows you to see what is included in your final prod build so you can start identifying modules that are heavier than you expect.Describe alternatives you've considered
None
Additional context
The screenshot above is what you're able to visualize within this repo when using
webpack-bundle-analyzer
. One of the first things that stand out is the use ofreact-icons
. This one module alone accounts for over 50% of the entire asset size of the react-digraph production build. I also noticed that this module is only used for the expand icon, so one single icon is costing 374k gzipped.I've already done the work in adding
webpack-bundle-analyzer
to this repo, I am only opening this issue so I can make a PR to it.The text was updated successfully, but these errors were encountered: