4 ms·
EDIT: I misunderstood the parent comment; it's not talking about Shadow DOM. --- > It can act in the shadow too, allowing parallel computing. Is it the great
by JeremyBanks 8y ago
EDIT: I misunderstood the parent comment; it's not talking about Shadow DOM.
---
> It can act in the shadow too, allowing parallel computing. Is it the great beginning of «in browser javascript multi threading»?
Unless something has recently changed, this is not true.
Shadow DOM elements are still part of the same JavaScript execution environment as the Light DOM; there's no concurrency at that level.
If you want browser multi-threading, we've had WebWorkers for years and they keep getting better (OffscreenCanvas and module support being current examples).