It's unclear how imperative slotting would work with declarative shadow DOM. Presumably, slot needs to remain empty until scripts become available.
I wonder if there is a way to serialize imperative slot API though. If there was a way to express imperative assignment using, for example, IDs, that would pave a way for declarative shadow DOM to avoid showing slot's fallback content while scripts are getting loaded.
It's unclear how imperative slotting would work with declarative shadow DOM. Presumably, slot needs to remain empty until scripts become available.
I wonder if there is a way to serialize imperative slot API though. If there was a way to express imperative assignment using, for example, IDs, that would pave a way for declarative shadow DOM to avoid showing slot's fallback content while scripts are getting loaded.