Closed
Description
Printing out null
as the contents of an HTML text node through dangerouslySetInnerHTML
activates the async renderer #333, and is removed from the output.
It used to be undefined
but switched to null
after this PR #339
E.g:
- Correctly prints as text
<p dangerouslySetInnerHTML={{ __html: undefined }} />
- Activates async renderer indirectly and is removed from the output.
<p dangerouslySetInnerHTML={{ __html: null }} />
Metadata
Metadata
Assignees
Labels
No labels