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
VictoryCharts takes up a good amount of space in our stats.html breakdown of npm modules that is generated when we run vite build. We are only using one chart, and it's importing a ridiculous amount of node modules for it.
Additionally, when we run pnpm install it routinely complains about Victory Charts not having a required peer of React 16 or whatever. If you have experience with a particular charting library, can you recommend one that has a lighter kb footprint? I have a soft spot for Victory, because Formidable is based in Seattle, but I'm open to change.
The text was updated successfully, but these errors were encountered:
What about D3 or Britecharts (react wrapper for D3)? It looks like a huge package when importing but IIRC it tree shakes pretty well. And part of Victory seems to be based on it anyway.
VictoryCharts takes up a good amount of space in our
stats.html
breakdown of npm modules that is generated when we run vite build. We are only using one chart, and it's importing a ridiculous amount of node modules for it.Additionally, when we run
pnpm install
it routinely complains about Victory Charts not having a required peer of React 16 or whatever. If you have experience with a particular charting library, can you recommend one that has a lighter kb footprint? I have a soft spot for Victory, because Formidable is based in Seattle, but I'm open to change.The text was updated successfully, but these errors were encountered: