- From: Joe Pea <notifications@github.com>
- Date: Fri, 11 Oct 2024 20:25:03 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 12 October 2024 03:25:07 UTC
> ```ts > const count = new Signal.State(0); > > document.body.render(HTMLElement.html`<p>count: ${count}</p>`); > > count.set(count.get() + 1); > ``` If it could work like that, it would be nice. But what if `count` is a function that returns a value from a signal? How would you know that the function value in that was found in the values list is a signal when it only sees a plain function? -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1069#issuecomment-2408330428 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1069/2408330428@github.com>
Received on Saturday, 12 October 2024 03:25:07 UTC