←back to thread

218 points mdhb | 1 comments | | HN request time: 1.339s | source
Show context
aatd86 ◴[] No.44394976[source]
I don't quite understand. The DOM is/needs a functional API. Why bolt another DSL on top?

Now you have to find a way for javascript to interact with your template language.

While functions are sufficient. That doesn't look like orthogonal language design.

replies(2): >>44395653 #>>44395759 #
1. austin-cheney ◴[] No.44395653[source]
People want this because JSX is all they are capable of.

One reason why things like this have never happened before is because the people who need this are only barely capable of working with HTML. The DOM supports a wide variety of technologies far outside and unrelated to HTML.