- From: Justin Fagnani <notifications@github.com>
- Date: Fri, 16 Aug 2024 10:52:24 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 August 2024 17:52:28 UTC
I was just to add a note about signals. I think this is a great place to start adding signals integration to the DOM. If you use a signal in a binding, that binding should be bale to update without a full re-render.: ```ts const count = new Signal.State(0); document.body.render(HTMLElement.html`<p>count: ${count}</p>`); count.set(count.get() + 1); ``` But not every bit of state in a page is or ever will be signals, so I think the ability to have a fast re-render is necessary. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1069#issuecomment-2293918624 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1069/2293918624@github.com>
Received on Friday, 16 August 2024 17:52:28 UTC