@arachnejs/signals
Fine-grained reactivity for Arachne. Algorithm by alien-signals (opens in a new tab) (MIT); public API is ours.
import { signal, computed, effect, batch, untrack, resource } from "@arachnejs/signals";
const count = signal(0);
const doubled = computed(() => count() * 2);
effect(() => console.log(doubled()));
count.set(1);See ADR 0006.