this post was submitted on 16 Sep 2024
94 points (100.0% liked)

TechTakes

1403 readers
111 users here now

Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.

This is not debate club. Unless it’s amusing debate.

For actually-good tech, you want our NotAwfulTech community

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kuberoot@discuss.tchncs.de 6 points 2 months ago (2 children)

JSX is JavaScript, but you can also just put HTML in it (with bonus syntax for embedding more JS expressions inside) and it can get transpiled into function calls, which means it'll result in an object structure representing the HTML you wrote. It's used so that you can write a component as a function that returns HTML with properties already computed in and any special properties, like event listeners, passed as function references contained in the structure.

[–] froztbyte@awful.systems 7 points 2 months ago

that's a hell of a lot of words for "is a giant pile of mistakes"