164
you are viewing a single comment's thread
view the rest of the comments
[-] Kissaki@programming.dev 6 points 5 days ago

What's the advantage of AlpineJs vs baseline web technologies?

Scrolling through the simple intro examples, I would have implemented those with standard JS and DOM APIs just fine.

[-] transporter_ii@programming.dev 2 points 1 day ago

It's offers a syntax similar to a no-build VUE. This gives you a more standard, modern way of doing things that a lot of people already know how to do. And it does it without generating many thousands of files and dependencies just to create a "hello world" page. Most anyone that could figure out VUE code should be able to look at AlpineJS code and figure out what is going on. I could very easily use vanilla JavaScript to do everything. Good luck on you figuring any of it out in a timely manner if you inherited any of the code.

I'm mostly doing database CRUD with it. I'm really impressed with how easy it is to make a somewhat complex form with a minimal amount of (mostly clean) code.

That said, I do not really like the inline coding that they push in all the documentation. I much prefer separating the code using Alpine data(). It's much easier to debug.

[-] shnizmuffin@lemmy.inbutts.lol 4 points 5 days ago

Implementing reactivity is a non-trivial task. With Alpine, you get Vue's without the rest of Vue.

[-] MonkderVierte@lemmy.zip 6 points 4 days ago* (last edited 4 days ago)

Yeah ok.

To be fair, i have 3rd-party frames and js blocked on mobile. But cmon, not even the close button works without 3rd-party.

I'm rusted, but even i could implement that one properly in html and css only in half a hour.

[-] shnizmuffin@lemmy.inbutts.lol 1 points 4 days ago

If you're judging the website of a JS library by how it performs without JS, I'm not sure I can help you.

Without third party

Can you share the sources you blocked?

[-] aegg@europe.pub 3 points 4 days ago

WebComponents is a standard api and actually very simple.

[-] shnizmuffin@lemmy.inbutts.lol 1 points 4 days ago

I've written my fair share! Unfortunately, clients ask for dumb shit all the time and Alpine is fast and cheap.

this post was submitted on 02 Apr 2026
164 points (99.4% liked)

Programming

26415 readers
79 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS