DEV Community

Discussion on: Why the React community is missing the point about Web Components

Collapse
 
briancruickshank profile image
Brian Cruickshank • Edited

lit-html provides a good example of how to solve that problem in a way that works well within a Web Component context: From npmjs.com/package/lit-html/v/0.2.1 :
lit-html's method of creating HTML templates with markers for dynamic sections, rather than updating the final DOM tree, enables efficient updates of previously rendered DOM