MCPcopy Create free account
hub / github.com/Lobos/react-ui / ReactDOMTextComponent

Function ReactDOMTextComponent

docs/lib/react.js:8654–8667  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

8652 * @internal
8653 */
8654var ReactDOMTextComponent = function (text) {
8655 // TODO: This is really a ReactText (ReactNode), not a ReactElement
8656 this._currentElement = text;
8657 this._stringText = '' + text;
8658 // ReactDOMComponentTree uses these:
8659 this._nativeNode = null;
8660 this._nativeParent = null;
8661
8662 // Properties
8663 this._domID = null;
8664 this._mountIndex = 0;
8665 this._closingComment = null;
8666 this._commentNodes = null;
8667};
8668
8669_assign(ReactDOMTextComponent.prototype, {
8670

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…