Re:I created the exact same app in React and Vue
by dmitriid on Monday July 30, 2018 @12:48AM
(#17642134)
JSX is not markup
[ Parent
| on HN ]
Re:I created the exact same app in React and Vue
by bmarkovic on Monday July 30, 2018 @05:42PM
(#17648338)
JSX is PHP-mix-HTML templates and JSP all over again. Those that fail to learn from history are doomed to relive it.
Re:I created the exact same app in React and Vue
by dmitriid on Tuesday July 31, 2018 @12:56AM
(#17650637)
It's not. It's nothing but a `React.createElement` function call. It's a paper-thin XML-like DSL over real unadulterated JavaScript code.
HTML-in-PHP wasn't PHP. HTML-in-JSPwasn't Java. JSX in JavaScript is JavaScript. And that is a whole world of difference.