Mark
Mark
@hussein-khamis I can confirm that `1.15.4` works for me
This may be related to the `Text` export from [domhandler](https://github.com/remarkablemark/html-react-parser/blob/d60196eab530bd1fa931abfeb69786904f11beee/src/index.ts#L7). Can you try the following import? ```tsx import { Text } from 'html-react-parser'; console.log(Text); ```
I wonder if this could be a `parcel` issue. Could you try nuking your `node_modules` and lockfiles and reinstalling dependencies? ```sh rm -rf node_modules package-lock.json yarn.lock npm i ```
Gotcha then I'll need your help in creating a small reproducible example and sharing the code with me. Feel free to use something like [StackBlitz](https://stackblitz.com/edit/html-react-parser).
Once you create the project with your error, please commit it and share the public GitHub repo with me so I can take a look.
@njbair if you can provide a reproducible example, I can take a look
@atomrevival thanks for opening this issue, I don't believe React 19 has been officially released yet (see [NPM](https://www.npmjs.com/package/react?activeTab=versions)). In the meantime, could you try the following? https://github.com/remarkablemark/html-react-parser/issues/1436#issuecomment-2131695591
@thany thanks for the comment. The reason why I'm not locking the RC version for React 19 is because it's still [not stable](https://x.com/sophiebits/status/1801663976973209620). If you need to use RC 19...
@ptmkenny thanks for the update, I'll add React 19 later today
Release: - https://github.com/remarkablemark/html-react-parser/pull/1628#issuecomment-2521861131