MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / _setupReactiveEffect

Method _setupReactiveEffect

www/js/_hyperscript-max.js:11177–11188  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

11175 this._hypercomp_stamped = false;
11176 }
11177 _setupReactiveEffect(source) {
11178 var self2 = this;
11179 reactivity2.createEffect(
11180 function() {
11181 return self2._renderTemplate(source);
11182 },
11183 function(html) {
11184 self2._stampTemplate(html);
11185 },
11186 { element: self2 }
11187 );
11188 }
11189 _renderTemplate(source) {
11190 var ctx = runtime2.makeContext(this, null, this, null);
11191 var buf = [];

Callers 1

connectedCallbackMethod · 0.45

Calls 3

createEffectMethod · 0.45
_renderTemplateMethod · 0.45
_stampTemplateMethod · 0.45

Tested by

no test coverage detected