14 Matching Annotations
  1. Last 7 days
    1. 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.

  2. Jul 2023
  3. Feb 2023
  4. Oct 2020