what is the easiest way of dynamically creating a DOM elements in component? I have a model of a tree (items with parentId param) loaded from API and I need to print them out into nested lists like
<ul>
<li>List item one</li>
<li>List item two with subitems:
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ul>
</li>
<li>Final list item</li>
</ul>