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

Method notifyMutation

www/js/_hyperscript.esm.js:2468–2470  ·  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

2466 * @param {Object} obj - The mutated object
2467 */
2468 notifyMutation(obj) {
2469 this.reactivity.notifyProperty(obj);
2470 }
2471 morph(elt, content) {
2472 this.#morphEngine.morph(elt, content, {
2473 beforeNodeRemoved: (node) => {

Callers 9

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

Calls 1

notifyPropertyMethod · 0.45

Tested by

no test coverage detected