Menu
×
×
正确
const paragraph = React.createElement('p', {}, 'This is a paragraph without using JSX!');
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
const paragraph = React.createElement('P', {}, 'This is a paragraph without using JSX!');
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
const paragraph = React.createElement("p", {}, 'This is a paragraph without using JSX!');
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
const paragraph = React.createElement("P", {}, 'This is a paragraph without using JSX!');
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
不正确点击 此处 重试 正确下一题 ❯const paragraph = React.createElement(, {}, 'This is a paragraph without using JSX!'); const root = ReactDOM.createRoot(document.getElementById('root')); root.render(paragraph); |