This allows you to make use of most of the DOM api and encapsulate React as an implementation detail. I would love to take advantage of web components, but my understanding is that the polyfills are flaky and that there aren’t enough component libraries out there that are built directly on web components (yet). It’s time we unleash that potential instead of squabbling over which JS framework is better at providing a component paradigm. Server side rendering and progressive enhancement. React (with an add-on Javascript Extension (JSX) library) can be used to quickly prototype components. That’s not two types, but two ways of doing the same. React DOM. If you change the background color of a div to blue in a shadow DOM, then that div’s background will get changed only, and no divs outside of it will be affected: Templates allow us to declare markup structures at the load time using the