MCPcopy
hub / github.com/preactjs/preact / removeChild

Function removeChild

compat/src/portals.js:55–58  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

53 _this._container.insertBefore(child, before);
54 },
55 removeChild(child) {
56 this.childNodes.splice(this.childNodes.indexOf(child) >>> 1, 1);
57 _this._container.removeChild(child);
58 }
59 };
60 }
61

Callers

nothing calls this directly

Calls 1

removeChildMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…