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

Yeah the syntax is almost identical to vanilla js, but requiring a compiler is quite cumbersome compared to the advantage it provides imo.


That said if anything pretty much all of the new school frameworks and many of the tools in their ecosystems are already dependent on compilers for optimization anyway, react itself is introducing a compiler in the latest versions.

Anyway I prefer the html looking syntax if anything because it looks like the output on the page. That’s dependent on a project coding style that doesn’t unnecessarily wrap things in components, which for my company’s product I’ve set as a standard.


Requiring a compiler also allows to catch mistakes at compile type, which is much more efficient in terms of development.




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

Search: