
JSJ 465:The Power of Micro Front-Ends with Michael Geers
JavaScript Jabber
00:00
The Benefits of Web Components and Custom Elements
Web components are not actually compatible with server-side rendering. Server-side generate a shadow DOM so the internal of a rendered web component ship it to the browser and then have the browser pick up there. Custom element is basically giving it you as a developer the ability to make up your own HTML elements. Shadow DOM defines a virtual boundary where styles are not able to leak out for example.
Play episode from 23:48
Transcript


