MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #trackMutation

Method #trackMutation

tools/common/_hyperscript.iife.js:2501–2505  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2499 }
2500 }
2501 #trackMutation(val) {
2502 if (this.reactivity.isTracking && val != null && typeof val === "object") {
2503 this.reactivity.trackProperty(val, "__mutation__");
2504 }
2505 }
2506 resolveAttribute(root, property) {
2507 if (this.reactivity.isTracking) this.reactivity.trackAttribute(root, property);
2508 return this.#flatGet(root, property, (root2, property2) => root2.getAttribute && root2.getAttribute(property2));

Callers 1

resolveSymbolMethod · 0.95

Calls 1

trackPropertyMethod · 0.45

Tested by

no test coverage detected