-
-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Description
The main plotly.js repo goes to great length about how to modularise the plotly code and avoid having the huge bundle with Mapbox, etc.
This library seems to be the official "basis of Plotly's React component suite", yet it's just loading the full plotly.js code.
react-plotly.js/src/react-plotly.js
Line 2 in 6fe45a7
import Plotly from 'plotly.js/dist/plotly'; |
This makes the bundle super big, Webpack super slow, and the minification time skyrocket as the codebase is simply just huge.
Since there is a whole article about modularizing plotly, it's strange to me that this lib requires the full build.
What is the best way to use react-plotly with a more minimal plotly bundle?
Metadata
Metadata
Assignees
Labels
No labels