const count = signal(0); const doubled = computed(() => count.value * 2);
I like this syntax better than Solid's. It returns a single object (with .value) rather than explicit getter/setter.
I wonder if there's a way to use similar syntax in Solid? Don't see any reason why we couldn't easily wrap createSignal with a nicer API.