Below are the sizes of various UI libraries. The JavaScript bundles for each library includes the minimal code to render a very basic UI component in the browser. That is, the bundle includes the UI library and the code for a single UI component. The JavaScript bundle is generated using Rollup with NODE_ENV=production
and all helpful optimizations are used to reduce the code size (envify, uglifyjs, minprops, etc.).
[marko]
gzip: 11,802 bytes
min: 32,289 bytes
[preact]
gzip: 4,401 bytes
min: 10,272 bytes
[react]
gzip: 42,796 bytes
min: 132,963 bytes
[vue]
gzip: 22,682 bytes
min: 62,856 bytes
Source: https://github.com/marko-js/marko/tree/master/benchmark/size