you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 3 months ago (1 child)

No build with AlpineJs is now the future. I've been saying for many years that creating a "hello world" page that generates tens or even hundreds of thousands of files is kind of nuts. Every one of those files could be a security issue.

  • source
  • hideshow 2 child comments
  • [–] 6 points 3 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 3 months ago (2 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 3 months ago* (last edited 3 months ago) (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months 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.

  • source
  • parent