Back to: React
what is JSX?
JSX is a syntax extension for JavaScript. This means that on its own it’s not much use, browsers cannot read it and it is not valid JavaScript! Before a file containing JSX reaches the browser, it is compiled, which will translate the JSX into JavaScript.
It was written to work with React. It looks like HTML.