|
|
|
@ -23,7 +23,11 @@ export function component(anchor_node, get_component, render_fn) {
|
|
|
|
/** @type {import('#client').Effect} */
|
|
|
|
/** @type {import('#client').Effect} */
|
|
|
|
let effect;
|
|
|
|
let effect;
|
|
|
|
|
|
|
|
|
|
|
|
/** @type {Set<import('#client').Effect>} */
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Every time `component` changes, we create a new effect. Old effects are
|
|
|
|
|
|
|
|
* removed from this set when they have fully transitioned out
|
|
|
|
|
|
|
|
* @type {Set<import('#client').Effect>}
|
|
|
|
|
|
|
|
*/
|
|
|
|
let effects = new Set();
|
|
|
|
let effects = new Set();
|
|
|
|
|
|
|
|
|
|
|
|
const component_effect = render_effect(
|
|
|
|
const component_effect = render_effect(
|
|
|
|
|