🐛 coumputed signal

This commit is contained in:
jaandrle committed 2025-03-03 15:25:04 +01:00
1 parent 6c4ddd655f
commit 7ec50e1660
5 files changed
+15 -9

No files matched your search

+1 -1
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;