Menu
×
×
正确
const container = document.getElementById('root');
const root = ReactDOM.@(10)(container);
root.render(myElement);
const container = document.getElementById('root');
const root = ReactDOM.createRoot(container);
root.render(myElement);
不正确
点击 此处 重试 正确
下一题 ❯const container = document.getElementById('root'); const root = ReactDOM.w3exercise_input_no_0(container); root.render(myElement); |