The header is a link that lets us try out components, change them, and see immediate results.
template tag is a fundamental building block of component’s HMTL - it allows you to store pieces of HTML.
Deploy those to an org with some metadata and Salesforce compiles the files and takes care of the component construction automatically.
At a minimum, you just need an HTML file and a Javascript file with the same name in the same folder with the same name.
CSS: Provides the look, feel, and animation for your component.
JavaScript: Defines the core business logic and event handling.
HTML: Provides structure for your component.
Simply create components using HTML, JavaScript, and (optionally) CSS:.
Browsers have been creating web components for years: select, video, input - any tags that serve as more than a container.
#Lightning app builder templates full#
Its easier to find solutions to common places on the web, find developers with necessary skills/experience, develop faster, use full encapsulation so components are more versatile.
Since LWC is build on code that runs natively in browsers, LWC is lightweight and performant.
Modern browsers are based on web standards that are constantly improving what browsers can present to a user.
LWC opens to door to existing technologies.
Programming with Web Standards - standard technologies like HTML, JavaScript, and CSS are used to build the next generation of Salesforce apps while maintaining compatibility with existing Aura components.
Find what you need to get started developing Lightning web components. List the benefits of using Lightning web components. These are technical notes I compiled while studying using Trailhead, Salesforce's free self-learning portal.Įxplain the Lightning Web Components programming model.