1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 20:32:13 +02:00

🐛 coumputed signal

This commit is contained in:
2025-03-03 15:23:55 +01:00
parent 6c4ddd655f
commit 7ec50e1660
5 changed files with 15 additions and 9 deletions

View File

@ -62,7 +62,7 @@ export function signal(value, actions){
deps.set(contextReWatch, new Set([ origin ]));
stack_watch.push(contextReWatch);
write(out, value.get());
write(out, value());
stack_watch.pop();
if(!deps_old.length) return;