Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Template languages create strings. JSX creates hyperscript.

JSX by its nature statically checks for tag balance, etc. The non-JavaScript part of its syntax has actual semantics. In a template language the non-Turing-complete part of the syntax is just strings.

JSX is a perfectly good notation for describing how data maps to its presentation in a DOM tree.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: