Files
react.dev/content/docs/faq-build.md
William Lim (林良) 8c797096e7 Update faq-build.md
2018-03-29 08:08:51 +08:00

33 lines
562 B
Markdown

---
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?
No! Check out ["React Without JSX"](/docs/react-without-jsx.html) to learn more.
### Do I need to use ES6 (+) with React?
No! Check out ["React Without ES6"](/docs/react-without-es6.html) to learn more.
### How can I write comments in JSX?
```jsx
<div>
{/* Comment goes here */}
Hello, {name}!
</div>
```
```jsx
<div>
{/* It also works
for multi-line comments. */}
Hello, {name}!
</div>
```