We want to hear from you!Take our 2020 Community Survey!

Babel, JSX, and Build Steps

Do I need to use JSX with React?

No! Check out “React Without JSX” to learn more.

Do I need to use ES6 (+) with React?

No! Check out “React Without ES6” to learn more.

How can I write comments in JSX?

<div>
  {/* Comment goes here */}
  Hello, {name}!
</div>
<div>
  {/* It also works 
  for multi-line comments. */}
  Hello, {name}! 
</div>
Is this page useful?Edit this page