News for hackers. Stuff that matters.
Re:React Won by Default – and It's Killing Front End Innovation by sensanaty on Tuesday September 16, 2025 @04:56AM (#45259776)
> Any sufficiently complicated templating language contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of the host language

Agreed, and Vue does it right exactly because they don't let you do complex things in the template. You can use ternaries in a pinch, but `computed`s exist so there isn't even a reason to do stuff like that. There's like... 10? directives that you can use and they are extremely obvious as to what they're doing, and the handlebar syntax itself is extremely limited and doesn't let you do any crazy stuff with it.

Re:React Won by Default – and It's Killing Front End Innovation by WickyNilliams on Tuesday September 16, 2025 @05:02AM (#45259817)
Yeah I was surprised, how little I felt hampered by its templating language. With things like handlebars and Jinja you often hit a wall like "how the hell do I express this in this language?", but never experienced it with vue.

Aside: I wish other frameworks would steal Vue's event modifiers. Doing things like `@click.prevent` or `@keyup.prevent.down` is so nice

Re:React Won by Default – and It's Killing Front End Innovation by wredcoll on Tuesday September 16, 2025 @02:21PM (#45265870)
I miss Vue's class based syntax. It felt so nice to have all the various magical bits having an actual home.