logoalt Hacker News

buzzerbetrayedtoday at 4:09 AM3 repliesview on HN

> 100% pure JavaScript directly

How did the React community convince so many people of this falsehood? Do that many people just not know what javascript is? It baffles me that one could look at JSX and be like, “that right there is vanilla javascript”.


Replies

lwansbroughtoday at 4:16 AM

Yeah man it’s pure JS trust me just add this little transpiler and you’re good to go. What do you mean you don’t have a bundler?

kristianduponttoday at 5:45 AM

What people mean is obviously that you use JS primitives for looping, branching, conditionals, etc. over some DSL. Everybody knows that the tags are added syntax, there is no conspiracy here.

show 1 reply
hajiletoday at 4:14 AM

JSX is basically just a subset of E4X.