Mark
Mark
Thanks for sharing the reproducible example. What you're seeing is expected behavior because only [Element](https://github.com/remarkablemark/html-react-parser/blob/v2.0.0/index.js#L39) is exported as a value and [Comment, Node, ProcessingInstruction, Text](https://github.com/remarkablemark/html-react-parser/blob/v2.0.0/index.d.ts#L19) are TypeScript types and you...
Yes I believe so.
The exports from `domhandler` are TypeScript types
You're correct. The only exported class from `domhandler` is [Element](https://github.com/remarkablemark/html-react-parser/blob/cffffc7/index.js#L39). The rest are not exported.
Thanks for opening this issue @philiptzou. What versions are you using (`html-react-parser` and `react`/`react-dom`) and can you provide a reproducible example?
@arpitBhalla for questions unrelated, do you mind creating a new issue? But to answer your current question, this package converts raw HTML string to React elements. If you're looking for...
@libensvivit did @ReinheimerPiano's answer help you?
> @remarkablemark I think this may need more works since I didn't test it. I'll work on this tomorrow. Sounds good 👍
Hey @philiptzou, were you able to make any progress? Let me know if you need any help
It should still work as expected. See [CodeSandbox](https://codesandbox.io/s/html-react-parser-633-nd6w4d?file=/src/index.js). Try reinstalling your packages: ```sh rm -rf node_modules npm i ```