naruaway / quickbootjs

Quickboot.js is an experimental tool to reduce JS code size beyond tree-shaking. It uses runtime tracing, eval(), and sync XHR with non trivial trade-offs

Home Page:https://quickbootjs.nry.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quickboot.js

Quickboot.js is an experimental tool to reduce JS code size beyond tree-shaking. It uses runtime tracing, eval(), and sync XHR with non trivial trade-offs.

It's hard to use it in a reliable way at least for now. However, this strategy is already producing interesting results.

As an example, Quickboot.js was able to reduce the JS needed for simple animation demo using React and framer-motion from 202 Kb to 118 Kb, which is 42% size reduction 🤯

See the official site for more details and demos: https://quickbootjs.nry.app

License

Quickboot.js is MIT licensed.

About

Quickboot.js is an experimental tool to reduce JS code size beyond tree-shaking. It uses runtime tracing, eval(), and sync XHR with non trivial trade-offs

https://quickbootjs.nry.app

License:MIT License


Languages

Language:TypeScript 94.5%Language:JavaScript 5.5%