this post was submitted on 27 Sep 2023
322 points (93.5% liked)

Programmer Humor

32443 readers
945 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (2 children)

JSX can exist without React; it's essentially just an alternative syntax for function calls.

(That is, annoyingly, handicapped in the Typescript checker)

[–] [email protected] 3 points 1 year ago

Solid uses JSX and is both much more performant than React while removing several of it's footguns. You also have WASM frameworks like Leptos that use similar syntax (RSX) while using languages that aren't JS.

[–] [email protected] 0 points 1 year ago

Very true! Shouldnt be a point for react i guess. I believe they originated the syntax perhaps? Regardless, I love it (: