4 ms·
For an article about "lightweight javascript", it mentions the bundle sizes of its examples exactly zero times. Probably because the livewire bundle alone is li
by sapling-ginger 3y ago
For an article about "lightweight javascript", it mentions the bundle sizes of its examples exactly zero times. Probably because the livewire bundle alone is like 40kb, comparable to react+react-dom's 45kb.
- pier25 3y agoA big difference though is that the Livewire lib is downloaded only once and includes Alpine for client side stuff. With React you still need a ton of JS with components and other libs.
- CharlesW 3y agoVue 3 is 16kb, or 27kb if you use everything. It feels like "heavy" refers primarily to cognitive load (a legit factor, of course).
- fijiaarone 3y ago45kb (zipped!) for document.createElement() with a babel transpiler build process.
- fijiaarone 3y agoExcuse me, I forgot that react-dom also ships with an implementation of document.appendChild()