MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / notifyMutation

Method notifyMutation

src/core/runtime/runtime.js:454–456  ·  view source on GitHub ↗

* Notify the reactivity system that an object was mutated in-place. * Call this after operations like push, splice, append, etc. * @param {Object} obj - The mutated object

(obj)

Source from the content-addressed store, hash-verified

452 * @param {Object} obj - The mutated object
453 */
454 notifyMutation(obj) {
455 this.reactivity.notifyProperty(obj);
456 }
457
458 morph(elt, content) {
459 this.#morphEngine.morph(elt, content, {

Callers 9

maybeNotifyMethod · 0.95
resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
deleteMethod · 0.45
deleteMethod · 0.45
deleteMethod · 0.45

Calls 1

notifyPropertyMethod · 0.45

Tested by

no test coverage detected