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

Do you really believe React is just javascript?




React is "just JavaScript" that you have to write in a very particular way, which the language in no way helps you enforce, for otherwise your "web app" will misbehave is bizarre and confusing ways.

There are no particular ways to code react where JSX is just JavaScript, it is not.

React is not the same thing as JSX. You can use React without using JSX and you can also use JSX without using React. This argument makes no sense from the get go.

It does not change the fact that JSX is not valid JavaScript and so 99.9% of React code is not valid JS.



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

Search: