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

Its not really a templating system - its just syntactic sugar for making very nested function calls that evaluate to a tree like data structure.

JSX: <div><div><div></div></div></div>

Compiles to: createElement('div', null, createElement('div', null, createElement('div', null)))



Tomato tomato, it is a templating system for a tree like data structure, rather than going through the middleman of a textual representation.




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

Search: