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

It is thin syntax sugar.

  <MyComponent prop={value}></MyComponent>
is just

  jsx(MyComponent, { prop: value })
Libraries and apps can use JSX or JS syntax.


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

Search: