December 2023
Beginner to intermediate
456 pages
12h 17m
English
This chapter covers
JavaScript XML (JSX) is a syntax extension to JavaScript. It’s one of the things that make React great, but it was also one of the more controversial elements of React when it was introduced back in the day.
This is an example of using JSX in JavaScript:
const link = <a href="//react.dev">React</a>;
JSX is the element that appears between the angle brackets: <a href="//react .dev">React</a>. It’s not a string, not a template literal, and not HTML. It’s a JavaScript object that is created with the syntax extension called JSX. It makes creating React elements much faster and more compact ...
Read now
Unlock full access