▲ | hajile 11 days ago | |
22.7MB to download the latest release from Github (87.3MB unzipped). That's an insane amount of JS to download and compile (people often complain about React being ~50kb). The default recommended way to use it is `import * as echarts from 'echarts'` which means you are getting the WHOLE thing. Does anyone with experience know how big is it when you pick and choose modules? | ||
▲ | frainfreeze 10 days ago | parent | next [-] | |
Not that big if you pick just what you need (but still quite a lot of kb to be fair). Take a quick look at their online builder and test it for yourself https://echarts.apache.org/en/builder.html | ||
▲ | infecto 11 days ago | parent | prev | next [-] | |
In fairness that would be all the charting options baked in. Typically you only install the specific charts you are using. | ||
▲ | anentropic 10 days ago | parent | prev | next [-] | |
The lib is modular My current build for an analytics dashboard app uses:
...and comes out at 550kb minified but unzipped | ||
▲ | aitchnyu 10 days ago | parent | prev [-] | |
Umm, minified version from site is 335.50 kB gzipped /1.03 MB. |