Closed AndyOGo closed 5 years ago
slots are usually handled by custom elements and Shadow DOM, nothing different in hyperHTML, right?
Indeed, if the browser supports it though.
I'm more curious about children
in general, if they work and if they get properly diffed incrementally?
I'm curious if
<slot>
's or similar functionality to React/JSXchildren
is supported?Like this example of
<custom-element>
, which has:The following
children
(light DOM):need to be properly slotted/injected into it's local DOM like:
producing the following flatted DOM: