Answer the question
In order to leave comments, you need to log in
How to write in jsx?
write in js file
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
Answer the question
In order to leave comments, you need to log in
The code must be translated into JS before execution.
babel-preset-react
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question