Easy
These two codes are equivalent
ReactDOM.render(
React.createElement('h1', null, 'Hello, world!'),
document.getElementById('root')
);
ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('root'));
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about React