Re: [WICG/webcomponents] Idea: A tree-aware task scheduler (Issue #1055)

> It's probably also worth noting that the lack of a canonical answer for how to schedule these types of DOM based effects is a big reason that "effects" are left out of the current [Signals proposal](https://github.com/tc39/proposal-signals?tab=readme-ov-file#implementing-effects).

Signals have nothing to do with DOM. There's no reason a microtask effect couldn't ship by default (and I'd use it for DOM!), and there's plenty of opportunity to add alternative types of effects later (*if needed*, because people might adjust their programs to be implemented differently if they're given a narrow space to operate in, and it might actually be beneficial, or at least informing, as to what types of new primites or effects are needed).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1055#issuecomment-2081339512
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1055/2081339512@github.com>

Received on Sunday, 28 April 2024 05:36:46 UTC