Closed shiftyp closed 3 years ago
Thanks for providing a minimal use-case example, it really helps!
I can confirm the behavior is not expected, so please bear with me, I'll fix this ASAP 👍
@shiftyp thee was a silly mistake within the code, and it got fixed. Everything should be fine now 👋
Description:
When using
html.for(...)
to render keyed elements, passing a ulandComponent
, either directly or through a nestedhtml
template, does not render.Expected Behavior
The
Component
should render within keyed elementsReproduction
Here is a modified codepen from the uhtml
html.for(...)
example. The key bit is reproduced below, along with the output:Code
Output