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.
|
|
|
---
|
|
|
|
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>
|
|
|
|
```
|