Growing file size. Dont forget your competitive advantage = minimal framework. #4138
sdesalas
started this conversation in
4. General
Replies: 1 comment 4 replies
-
I would like v3 comparisons. But yes. Most things are fast and small when they don't cover meaningful use cases. You can make custom Alpine builds that remove directives and magics you don't use, or even replace with a smaller reactivity engine. It's mainly just that this story is not clear. I'm personally looking at some places that could be made a bit smaller/faster. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys.
First of all: congratulations. This is an amazing project and you should be proud of what you've achieved to target the niche "minimalist" web project segment of the market.
I've just been shopping for JS+CSS frameworks for a small WiFi IoT project where I'm trying to keep my website to below 200MB due to limitations of my microcontroller.
Tiny devices like this have just enough memory to run a web server.
Needless to say, EVERY BYTE COUNTS, so file size is important.
I could write Vanilla JS but I really dont want to, and as such I've been looking into Alpine.js as a compromise to shortcut my dev workflow but without breaking the bank in terms of storage and download size.
This is what I found (all sizes are minimified):
Here is a nice chart to illustrate the trend:
I've decided to go with Alpine.js, as much as I have reservations about the growing size of the project, but I've also made a conscious decision to avoid V3 entirely and focus on V2 instead. So I can keep the size small enough for my project.
Im super-greatful that this library exists and continues to thrive. It's a perfect fit for my current and future hobby IoT projects.
However, i also want to reach out you to let you know my findings (others in my place will also be paying attention) and to think about where this is all heading in the longer term, and in particular to consider wether you want to be competing with React, Vue and Angular, instead of retain your competitive advantage and stay a minimal framework.
Kind regards.
Beta Was this translation helpful? Give feedback.
All reactions