React Directly in HTML
The quickest way start learning React is to write React directly in your HTML files.
Start by including three scripts, the first two let you write React code in your JavaScripts:
and the third, Babel, allows us to write
JSX syntax and
ES6 in older browsers.
This way of using React can be OK for testing purposes, but for production you will need to set up a
React environment.