
4 mins read
Introducing JSX
It is called JSX, and it is a syntax extension to JavaScript.
Here you can find all our articles, enjoy!
It is called JSX, and it is a syntax extension to JavaScript.
Unlike browser DOM elements, React elements are plain objects, and are cheap to create.
They accept arbitrary inputs and return React elements describing what should appear on the screen.
Handling events with React elements is very similar to handling events on DOM elements.
You can use variables to store elements. This can help you conditionally render a part of the component while the rest of the output doesn’t change.
Sometimes we think about components as being “special cases” of other components.