Thực đơn × × Chính xác! Bài tập:Nhập đúng hàm ReactDOM để hiển thị phần tử React cho DOM. 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); Not CorrectClick here to try again. Correct!Next ❯ |
Điều này sẽ thiết lập lại điểm của TẤT CẢ 24 bài tập.
Bạn có chắc chắn muốn tiếp tục không?