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

Method notifyMutation

www/js/_hyperscript-max.js:2469–2471  ·  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

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