-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Chart.js bundle size in DataVisualization component
- Implement dynamic import for Chart.js and react-chartjs-2 - Use tree shaking by importing only necessary Chart.js components - Register only required chart elements to reduce bundle size - Remove unused chart styles and colors to further minimize payload
- Loading branch information
1 parent
ef2950d
commit 1df2740
Showing
1 changed file
with
4 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters