react-webcomponentify
react-webcomponentify copied to clipboard
Incompatibility warning when upgrading to React 18
I have upgraded our app with React 18 and got the below warning since I am using react-webcomponentify.
Since React 18 is not supporting ReactDOM.render, we are getting this. Instead of that we should use createRoot API and its mentioned in their upgrade guide.
I suggest to upgrade the library to support React 18 with proper backward compatibility with older versions.
I would love to contribute on that. Let me know if you have any nicer suggestion or any plans already in mind @kopach @a7ul .
Awesome @ududsha can you maybe raise a pr for this?
Sure Let me work on it! Thanks @a7ul
Hi @a7ul, I have upgraded the library with React18, but it seems still have issues when we are going to use in another project. Really appreciate if someone can help checking this => https://github.com/ududsha/react-webcomponentify/commits/feature/upgrade-to-react18