Comment
Tommy Jensen
Giga Guru

So now this is were I started to have a few more struggles with things that I did not realize right away.  First one is that what your view returns on line 8 in the above code has to be wrapped in a single tag, it cannot be more than one.  So this does not work

 

I don't know if you have figured this out yet. If you have more than one top node then you have to specify it as an array. 

I watched a course about Web Components. One on Udemy by Maximilian Schwarzmüller

So your example formatted like this should work (I have not tried it, this is just from the theory learned from the course 😉 )

return ([
		<div>{section.name}</div>,
		<mahe2-bok-aig-subsection subsections={section.subsections}></mahe2-bok-aig-subsection>
	]);

yes a bit weird.