Changes in Version 18, no more ReactDOM.render

PHOTO EMBED

Fri Jun 17 2022 03:23:09 GMT+0000 (UTC)

Saved by @mehran1801 #react.js

const root = ReactDOM.createRoot(document.getElementById("app"));
root.render(<Data />);
content_copyCOPY