JSX is similar to a mix of XML and HTML. You use JSX within React code to easily create components for your apps. JSX transforms into JavaScript when React compiles the code. The beauty of React is that you can create reusable code and easily structure your app from a component-based mindset.
Full article