React Hello World
Here's a basic example that uses React's main API to create a React element and the React DOM API to render the React element in the browser.
as the equivalent (and easier to read for someone familiar with HTML)
The code containing JSX needs to be enclosed in a
So finally the above example becomes: