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

Method notifyMutation

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

2468 * @param {Object} obj - The mutated object
2469 */
2470 notifyMutation(obj) {
2471 this.reactivity.notifyProperty(obj);
2472 }
2473 morph(elt, content) {
2474 this.#morphEngine.morph(elt, content, {
2475 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