This component renders a list with no element around it
The message
MARKLESS_CHILD_REPEAT_WITHOUT_ELEMENT: <child> has a @for loop at the top level of its template, with no element of its own around the rows. As a page that works, because the page's container holds the rows, but inside another component the rows have no element of their own, so they would never update after the page loads.
A keyed repeat records one parent element: resume keys the served rows under it and inserts new rows into it. Inside another component the rows land in an element the child never wrote, at a position the child cannot know.
Wrap the @for in <child> in an element, for example <ul>@for (...) { <li>...</li> }</ul>.
https://markless.dev/errors/MARKLESS_CHILD_REPEAT_WITHOUT_ELEMENTWords in angle brackets change from case to case.
Why
A keyed repeat records one parent element: resume keys the served rows under it and inserts new rows into it. Inside another component the rows land in an element the child never wrote, at a position the child cannot know.
Fix
Wrap the @for in <child> in an element, for example <ul>@for (...) { <li>...</li> }</ul>.