yosevu / react-content-script

An example project to build Chrome extensions using React and TypeScript. Ideal for developers looking to create efficient and modern Chrome extensions with a focus on a clean development workflow using Vite and crxjs.
202 stars 56 forks source link

React 18 doesn't support ReactDOM.render(). #2

Closed Rickyoung221 closed 2 years ago

Rickyoung221 commented 2 years ago

React 18 does not support ReactDOM.render(). An error would be shown, ref:https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Any idea to amend the code in index.js?

yosevu commented 2 years ago

Thanks @Rickyoung221, updated.