xjpro / react-in-angularjs

A super simple way to render React components in AngularJS
The Unlicense
23 stars 13 forks source link

upgrade to react 18 #17

Closed Newbie012 closed 1 year ago

xjpro commented 2 years ago

I like it! But it needs to be backwards compatible. That should be doable by checking for the various functions of React 16 vs 18 right?

Newbie012 commented 2 years ago

That's a bit interesting, since the import path in react-dom@18 is different. I should probably look on other libraries to see how they handle it.