MCPcopy Create free account
hub / github.com/clayrisser/create-react-renderer / createTextInstance

Function createTextInstance

phaseK/src/reconciler.ts:67–76  ·  view source on GitHub ↗
(
    text: string,
    _rootContainerInstance: Container,
    _hostContext: HostContext
  )

Source from the content-addressed store, hash-verified

65 log.debug("createInstance");
66 return createElement(type, props);
67 },
68
69 appendInitialChild(parentInstance: Instance, child: Instance | TextInstance): void {
70 log.debug("appendInitialChild");
71 parentInstance.appendChild(child);
72 },
73
74 finalizeInitialChildren(
75 _parentInstance: Instance,
76 _type: Type,
77 _props: Props,
78 _rootContainerInstance: Container,
79 _hostContext: HostContext,

Callers

nothing calls this directly

Calls 1

commitMountMethod · 0.65

Tested by

no test coverage detected