News for hackers. Stuff that matters.
Re:Alpine.js Magic Helpers Library by ficklepickle on Sunday February 14, 2021 @01:55PM (#26135008)
Clearly you have never used Vue, because it works in the exact same way.

Alpine looks like Vue without computed properties.

Re:Alpine.js Magic Helpers Library by earthboundkid on Sunday February 14, 2021 @03:04PM (#26135730)
I have used Vue. In Vue, the templates are compiled and included if you use SFC, which is the preferred method. If you don’t use SFC, you have to ship the Vue compiler to your clients and that is not small. It’s a tradeoff.

Alpine doesn’t have a VDOM, so there’s no compiler and no equivalent of SFCs.