mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-29 07:00:16 +02:00
🐛 coumputed signal
This commit is contained in:
2
dist/esm-with-signals.js
vendored
2
dist/esm-with-signals.js
vendored
@@ -716,7 +716,7 @@ function signal(value, actions) {
|
||||
const [origin, ...deps_old] = deps.get(contextReWatch);
|
||||
deps.set(contextReWatch, /* @__PURE__ */ new Set([origin]));
|
||||
stack_watch.push(contextReWatch);
|
||||
write(out, value.get());
|
||||
write(out, value());
|
||||
stack_watch.pop();
|
||||
if (!deps_old.length) return;
|
||||
const deps_curr = deps.get(contextReWatch);
|
||||
|
Reference in New Issue
Block a user