index. Youll see how the Content component is treated differently by each implementation. You can easily imagine how even more HTML would not be a problem using this technique. Why did Ukraine abstain from the UNHRC vote on China? No for-loops, just a list of objects converted to a list of HTML elements. Thats it for today. What's the Value of lit-html Hehe, nice one, been using this many times and for a long time, even with JQuery. A third property will indicate if you are in edit or view mode. can JavaScript frameworks be as fast as Vanilla-JS. As properties, it receives everything it needs to work. This object manages the widget and lets you add new ones. This idea is powerful when you substitute the rectangle with whatever data your application may have, and the area and perimeter with HTML. But if you are building something like SPA behind login then it is much easier (and reloading whole pages in SPA is not a thing you want, right). Well yes, you should lay out what actual problem you have more clearly. But it is worth testing the performance of rendering HTML using innerHTML as it can cause rendering and layout cycles in the browser. This is very useful so you can write the HTML where it makes the most sense: in the HTML page with all the helpful features of an HTML editor. This is what we call Conditional Rendering in ReactJS. Like in SharePoint Online or other SAAS environment. Note that returning a falsy expression will still cause the element after && to be skipped but will return the falsy expression. Linear Algebra - Linear transformation question, Recovering from a blunder I made while emailing a professor. Rendering a function instead of a string # Another technique is to create a