You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
668 B

7 years ago
---
id: faq-build
title: Babel, JSX, and Build Steps
permalink: docs/faq-build.html
layout: docs
category: FAQ
---
### Do I need to use JSX with React? {#do-i-need-to-use-jsx-with-react}
7 years ago
No! Check out ["React Without JSX"](/docs/react-without-jsx.html) to learn more.
7 years ago
### Do I need to use ES6 (+) with React? {#do-i-need-to-use-es6--with-react}
7 years ago
No! Check out ["React Without ES6"](/docs/react-without-es6.html) to learn more.
7 years ago
### How can I write comments in JSX? {#how-can-i-write-comments-in-jsx}
7 years ago
7 years ago
```jsx
<div>
{/* Comment goes here */}
Hello, {name}!
</div>
7 years ago
```
```jsx
<div>
{/* It also works
for multi-line comments. */}
Hello, {name}!
</div>
```