MCPcopy Create free account
hub / github.com/ampproject/amphtml / if

Method if

src/preact/base-element.js:758–761  ·  view source on GitHub ↗
(this.hydrationPending_)

Source from the content-addressed store, hash-verified

756
757 try {
758 if (this.hydrationPending_) {
759 this.hydrationPending_ = false;
760 hydrate(v, container);
761 } else {
762 const replacement = lightDomTag
763 ? childElementByAttr(container, RENDERED_ATTR)
764 : null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected