peternewnham / react-html-parser

Converts HTML strings directly into React components and provide a simple way to modify and replace the content.
https://peternewnham.github.io/react-html-parser
MIT License
781 stars 103 forks source link

Issue with react version #105

Open Ishaan28malik opened 1 year ago

Ishaan28malik commented 1 year ago

Facing an issue related to react-18 and react-16

Screenshot from 2023-08-09 17-26-13

Ishaan28malik commented 1 year ago

@peternewnham @kevinzwhuang @mjj2000

aliashrafi051 commented 1 year ago

I have this error too

singodiyashubham87 commented 1 year ago

@Ishaan28malik @aliashrafi051 I'm also facing this issue, maybe the latest react version doesn't support this library and this library is also not updated and configured for the latest react version.

KellsCodes commented 1 year ago

I ran into this issue now, have anyone been able to solve it?

singodiyashubham87 commented 1 year ago

@KellsCodes Nope! The library is still not updated and therefore not supported by the latest version of react.

abdullah43577 commented 1 year ago

yeah, I noticed this same issue while I tried using it today

Gnomepman commented 9 months ago

I have the same one

robhadfield commented 8 months ago

oh no! Came here to post the same. Anyone found a workaround yet?

vladsovetov commented 8 months ago

We just replaced this lib with https://www.npmjs.com/package/html-react-parser with no code change

deepakraj5 commented 7 months ago

We just replaced this lib with https://www.npmjs.com/package/html-react-parser with no code change

thanks @vladsovetov perfect 🎉