Best of Web ComponentsOctober 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·4y

    Building a Micro-frontend Framework

    Micro-frontend architecture is a design approach in which a front-end app is decomposed into individual, semi-independent “microapps’ working loosely together. The idea is that the individual microapps within a macroapp (as we shall call the composed, top-level app) are analogous to the various iframes. There is still a long laundry list of issues to be aware of when using iframe.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    A Complete Introduction to Web Components in 2022

    Frameworks allow developers to create web components where the content, styling, and functionality can be defined in a single JavaScript file. Standard Web Components can add browser functionality, which is difficult to achieve in. The class requires a method named connectedCallback() which is invoked when the element is added to a document: class HelloWorld extends HTMLElement.