Fundamentals of React - Hello World

React Hello World

Let's take a look at a Hello World app in React and we'll explain how JSX is converted to JavaScript with Babel.

Babel is a JavaScript compiler that allows you to take modern JavaScript that isn't yet supported by all browsers, and to compile it down so that it WILL run in all browsers. Babel also allows you to compile proprietary languages such as JSX.

The templating language that React uses is called JSX and there's generally a build or compile step that happens with your code to turn it into real Java Script.