JSX
is an inline markup
that looks like HTML that gets transformed to JavaScript.
- It starts with a HTML-like open tag, and ends with the corresponding closing tag.
Example:
const element = Hello, world!
;
The syntax is intended to be used by preprocessors such as Babel to transform HTML-like text into standard JavaScript objects.