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