DEV Community

Discussion on: JavaScript Framework TodoMVC Size Comparison

Collapse
 
ryansolid profile image
Ryan Carniato

Alpine wouldn't be an equivalent comparison. The template in the HTML would require a different way of measuring size.

I did implement Alpine in the JS Frameworks Benchmark and one thing I noticed was the base framework size was about 16kb. It isn't really built for treeshaking (github.com/alpinejs/alpine/discuss...).

I think for Alpine the approach of HTML template is going to limit you to smaller applications any way (intentionally), so assuming the best case I'd picture it similar to Vue except you probably wouldn't go past 40kb.

Collapse
 
lil5 profile image
Lucian I. Last

I appreciate the well written comment.

I have seen "large" projects where the largeness was take up by php and used minimal to none javascript on top of using an overkill framework.

Thread Thread
 
ryansolid profile image
Ryan Carniato

I should have clarified. I meant large JavaScript rendered projects, since that is what we are measuring here.