new ReactDOMTextComponent()
Text nodes violate a couple assumptions that React makes about components:
- When mounting text into the DOM, adjacent text nodes are merged.
- Text nodes cannot be assigned a React root ID.
This component is used to wrap strings between comment nodes so that they
can undergo the same reconciliation that is applied to elements.
TODO: Investigate representing React components in the DOM with text nodes.
- Source:
Extends
- ReactComponent