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>
آیا این صفحه مفید است؟ویرایش این صفحه