When rendering a table using the parser, the console returns the following error: Whitespace text nodes cannot appear as a child of <table>. Make sure you don't have any extra whitespace between tags on each line of your source code..
This does not appear when using a standard dangerouslySetInnerHTML implementation.
When rendering a table using the parser, the console returns the following error:
Whitespace text nodes cannot appear as a child of <table>. Make sure you don't have any extra whitespace between tags on each line of your source code.
.This does not appear when using a standard dangerouslySetInnerHTML implementation.
This package came across the issue and seemed to fix it: https://github.com/aknuds1/html-to-react/issues/79
Also seems to be the most up-to-date.