-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
discussionDiscussions and proposalsDiscussions and proposalshas fixA fix has been craftedA fix has been craftedquestionFurther information is requestedFurther information is requested
Description
This works for me:
return html`
<${React.Fragment}>
<h1>Quiz</h1>
${entriesUi}
<hr />
<${Summary} entries=${entries} />
<//>
`;If I don’t wrap the fragment around the roots, I’m getting this error:
Warning: Each child in a list should have a unique "key" prop.
(That is, HTM seems to return an Array and not a fragment.)
If my suggestion doesn’t make sense, then it may be helpful to support the <>...</> syntax for fragments.
bathos, jimniels, iandunn, mtsknn, fabiospampinato and 1 morebrainkim
Metadata
Metadata
Assignees
Labels
discussionDiscussions and proposalsDiscussions and proposalshas fixA fix has been craftedA fix has been craftedquestionFurther information is requestedFurther information is requested