Exploration of react-like differential update built using web components.
The Element or shadowroot update method is a drop-in replacement for setting innerHTML which performs a differential update from the old DOM to the new DOM.
See the live demo.