MCPcopy Create free account
hub / github.com/BetaSu/big-react / appendInitialChild

Function appendInitialChild

packages/react-dom/src/hostConfig.ts:18–23  ·  view source on GitHub ↗
(
	parent: Instance | Container,
	child: Instance
)

Source from the content-addressed store, hash-verified

16};
17
18export const appendInitialChild = (
19 parent: Instance | Container,
20 child: Instance
21) => {
22 parent.appendChild(child);
23};
24
25export const createTextInstance = (content: string) => {
26 return document.createTextNode(content);

Callers 1

appendAllChildrenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected