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

Method notifyMutation

tools/common/_hyperscript.iife.js:2461–2463  ·  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

2459 * @param {Object} obj - The mutated object
2460 */
2461 notifyMutation(obj) {
2462 this.reactivity.notifyProperty(obj);
2463 }
2464 morph(elt, content) {
2465 this.#morphEngine.morph(elt, content, {
2466 beforeNodeRemoved: (node) => {

Callers 6

maybeNotifyMethod · 0.95
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