4 ms·
Compilation of HTML. Now this is something.
by cynicalsecurity 3y ago
Compilation of HTML. Now this is something.
- tombert 3y agoIs that really any different than JSX? I'm assuming that JSX doesn't just directly do `"<div>" + user.name + "</div>"`. Presumably it maps it to some kind of data structure and eventually compiles that into something that can be rendered.
- bcrosby95 3y agoJSX is compiled into plain old Javascript react code. Or at least it used to, but I don't know if it still does - I don't use react these days: https://legacy.reactjs.org/docs/introducing-jsx.html https://legacy.reactjs.org/docs/introducing-jsx.html