The output is fully as expected and specified. The
is a render time tag, not a view build time tag like
. After building the view,
ends up with 1 child component (the
itself), not with n
components like as with
.
You need a
instead. It's designed for exactly this purpose.