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

Function shouldSetTextContent

phaseH/src/reconciler.ts:149–153  ·  view source on GitHub ↗
(_type: Type, props: Props)

Source from the content-addressed store, hash-verified

147 log.debug("shouldSetTextContent");
148 // this is used to determine if the fiber is a text fiber
149 if (typeof props.children === "string") return true;
150 return false;
151 },
152
153 getRootHostContext(_rootContainerInstance: Container): HostContext {
154 log.debug("getRootHostContext");
155 return {};
156 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected