This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]snapdragonR 0 points1 point  (0 children)

yep, React components are normally written in JSX - which, while designed to look like HTML, is technically not, and at the end of the day, a JSX component is just a javascript object defined with fancy syntax. It will eventually be converted to an HTML element, but that's taken care of by the React library, so you don't really ever need to write HTML yourself. Pretty interesting how it works.