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

Method _setupReactiveEffect

src/ext/component.js:208–215  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

206 }
207
208 _setupReactiveEffect(source) {
209 var self = this;
210 reactivity.createEffect(
211 function() { return self._renderTemplate(source); },
212 function(html) { self._stampTemplate(html); },
213 { element: self }
214 );
215 }
216
217 _renderTemplate(source) {
218 // Reuse the existing template rendering infrastructure:

Callers 1

connectedCallbackMethod · 0.45

Calls 3

createEffectMethod · 0.45
_renderTemplateMethod · 0.45
_stampTemplateMethod · 0.45

Tested by

no test coverage detected