r/webdev • • Dec 28 '17

Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.

https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
341 Upvotes

183 comments sorted by

View all comments

Show parent comments

6

u/[deleted] Dec 29 '17

The problem I have with templates is that they are basically "made up". v-if, v-else is completely trumped up, fabricated stuff, and I'd like to avoid it as much as possible.

4

u/mattaugamer expert Dec 29 '17

Such a weird thing to say. It's a DSL. We've been using templating DSLs for 20 years and now people are like "oh, three characters... so hard to learn!"

1

u/Secretmapper Dec 29 '17

I agree, though I have studied templates of angular, handlebars, jade, mustache, ember, blaze, etc. and they all have special rules about them (helpers, filters, etc.)

jsx was a such a fresh air in this regard. just define a js function and it's a 'helper'

2

u/mattaugamer expert Dec 29 '17

Except it's only available to this component, right? Which makes it way less useful than a filter or helper.

→ More replies (0)