Day1

Lwc Topic Covered

Introduction to lighting web component 

  1. What is web component?
  2. what is lighting web component?
  3. 2014 web stack?
  4. 2019 web stack?
  5. lwc
  6. lwc
1.What is web Component?

Web Components is a suite of different technologies allow to you create re-usable elements their functionality encapsulated away form the reset of your code and utilize them in your web app.
       As developer we all know that re-using code as much as possible is a good idea.
web components aims to solve such problem,New programing model to create the lighting component  they are custom Html Elements built using javascript.

Specifications

Web components are based on 4 main specification:
Custom Elements.
    1.The Custom Elements specification lays foundation of designing and using new type of Dom elements.

Shadow Dom.
     2.The Shadow Dom Specification Define how to use encapsulated style and markup in new web component.

ES Modules.
    3.The ES Modules Specification define the inclusion of JS documents in a standards based, modular, performant way.

HTML Template.
    4. The HTML  Template Element Specification define how to declare fragments of markup that go unused at page load but can be instantiated later on at runtime .