Cogoport / cogo-toast

Beautiful, Zero Configuration, Toast Messages for React. Only ~ 4kb gzip, with styles and icons
https://cogoport.github.io/cogo-toast
MIT License
673 stars 1 forks source link

Support for React v18 #104

Open mad-coder-365 opened 2 years ago

mad-coder-365 commented 2 years ago

When using this toast with react v18 I keep getting this warning.

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17.

I know it's just a warning but it would be great if we have this updated to officially support React v18

hasanm95 commented 2 years ago

Update: I have a draft for this. I leave the link to the PR. You can review this.

#110