Open DrSensor opened 1 year ago
from https://www.wiktorwisniewski.dev/blog/exploring-declarative-shadow-dom
That template is transfered into shadow dom when HTML parser finds it
Seems I have misunderstood that DSD doesn't solve CLS issue. I wonder if there's pseudo-code or step-by-step sections on how DSD works 🤔
If this works then I don't need the current <slot> hack. Still, I need to figure out how portal and conditional rendering (#7) would looks like.
<slot>
For now I can use polyfill to continue the development then figure out the semantics of conditional and list rendering would looks like.
There's still 1 mystery. What happens if Javascript disabled? Does all elements inside <template shadowroot> get rendered? If no then I must reject it.
<template shadowroot>
from https://www.wiktorwisniewski.dev/blog/exploring-declarative-shadow-dom
Seems I have misunderstood that DSD doesn't solve CLS issue. I wonder if there's pseudo-code or step-by-step sections on how DSD works 🤔
If this works then I don't need the current
<slot>
hack. Still, I need to figure out how portal and conditional rendering (#7) would looks like.For now I can use polyfill to continue the development then figure out the semantics of conditional and list rendering would looks like.