pull/16266/head
Rich Harris 3 months ago
parent f0aac15fca
commit c4a948def3

@ -53,7 +53,8 @@ export function derived(fn) {
rv: 0, rv: 0,
v: /** @type {V} */ (null), v: /** @type {V} */ (null),
wv: 0, wv: 0,
parent: parent_derived ?? active_effect parent: parent_derived ?? active_effect,
ac: null
}; };
if (DEV && tracing_mode_flag) { if (DEV && tracing_mode_flag) {

@ -107,7 +107,8 @@ function create_effect(type, fn, sync, push = true) {
prev: null, prev: null,
teardown: null, teardown: null,
transitions: null, transitions: null,
wv: 0 wv: 0,
ac: null
}; };
if (DEV) { if (DEV) {

Loading…
Cancel
Save