JSX Debate

Discussions center on the nature of JSX as a syntax extension versus templating languages, its advantages in React and other frameworks, and preferences over alternatives like hyperscript or Vue templates.

📉 Falling 0.5x Web Development
4,179
Comments
18
Years Active
5
Top Authors
#2609
Topic ID

Activity Over Time

2008
1
2010
3
2011
2
2012
2
2013
25
2014
186
2015
297
2016
453
2017
515
2018
255
2019
275
2020
342
2021
313
2022
311
2023
486
2024
327
2025
376
2026
10

Keywords

e.g JS index.htm codesandbox.io depth.html CoffeeScripts XML DSL WRT JSX jsx react templating vue syntax html javascript dom templates dsl

Sample Comments

LordHumungous Oct 29, 2014 View on HN

Why not just use jsx though? It's almost always easier.

ricardobeat Aug 23, 2022 View on HN

“but react and JSX are just Javascript…”

vmware505 Mar 16, 2016 View on HN

I dont like JSX either. just a hype...

idbehold May 31, 2017 View on HN

Couldn't you say the same about JSX?

CharlieDigital Jan 17, 2025 View on HN

What do you find attractive WRT JSX versus other templating syntax?

indeyets Oct 6, 2024 View on HN

JSX is not a templating language. It is a functional DSL

mateuszf Feb 25, 2019 View on HN

The only one which is better than JSX imo.

adgasf Feb 5, 2020 View on HN

This doesn't look sufficiently different to JavaScript with JSX.

jmull Mar 8, 2023 View on HN

JSX is yet another template language, is it not?

jakubmazanec Dec 4, 2024 View on HN

No. Do you seriously don't understand the difference between JSX, a simple syntax extension that compiles to JavaScript function calls, and a templating language, for example Vue's templating syntax [1] or EJS [2] ?[1] https://vuejs.org/guide/essentials/template-syntax [2] https://ejs.co&#x