3 ms·
This is such a superficial aspect of the framework that it's really not worth discussing. You need to go deeper to learn it properly, and only then give verdict
by staltz 11y ago
This is such a superficial aspect of the framework that it's really not worth discussing. You need to go deeper to learn it properly, and only then give verdict. In ClojureScript (Om, Reagent, etc), you have the same HTML building pieces with code. Also in Elm you use normal Elm functions, not a HTMLish DSL. Also, nowadays in Cycle.js we use the more friendly syntax:
.map(name =>
div([
label('Name:'),
input('.field', {attributes: {type: 'text'}}),
h1('Hello ' + name)
])
)
Which was inspired by elm-html https://github.com/evancz/elm-html https://github.com/evancz/elm-html .