JSX (JavaScript XML) is a syntax extension for JavaScript that allows you to write HTML-like code in JavaScript.
It gets transformed into regular JavaScript function calls by a transpiler like Babel.
JSX makes React components more readable and allows you to write HTML-like syntax directly in your JavaScript code.
It's not required to use React, but it's the recommended approach.
// JSX Example const element = <h1>Hello, World!</h1>;
// Transpiled to: const element = React.createElement('h1', null, 'Hello, World!');