Best of Web ComponentsNovember 2023

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Write Components that Work in Any Framework

    The article explains the concept of web components and the technologies that make them up, including custom elements, Shadow DOM, and HTML Templates. It highlights the challenges of writing web components and introduces Lit, a library that simplifies the process by reducing boilerplate code. Lit allows developers to write performant and interoperable web components that can work in any frontend framework.

  2. 2
    Article
    Avatar of cloudfourCloud Four·2y

    HTML Web Components Are Having a Moment

    HTML Web Components are gaining popularity with the help of articles that have recently been published on the topic. These articles have provided a clearer understanding of web components and their potential in web development.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Shadow DOM is for hiding your shame

    Shadow DOM allows for clean markup by hiding unnecessary structure. It can be used to build an image carousel and create web components.

  4. 4
    Article
    Avatar of hnHacker News·2y

    Web Components Eliminate JavaScript Framework Lock-in

    Web components provide a way to build a web app using different JavaScript frameworks. They encapsulate the frameworks, allowing them to be used without imposing constraints on the rest of the application.