Create Lightning Web Components | Lightning Web Components Basics

Published: 04 November 2022
on channel: Saurabh Infotech Solutions
33,409
46

#salesforce
#trailhead
#salestraining

Lightning Web Components Basics

Create Lightning Web Components
Learning Objectives
After completing this unit, you'll be able to:

Describe the contents of each component file.
Create JavaScript methods for a Lightning web component.
Use Lifecycle Hooks in component JavaScript.
More Play Time
Say you want to build a data display element, independent of a specific object in Salesforce. A good example is the productCard component in the ebikes sample repo. Let's examine that card component, and build our own version from scratch so you can see how it evolves into a full-fledged Lightning web component. You'll quickly get the basics when you build up the parts of a component and explore more samples.

A component simply needs a folder and its files with the same name. They're automatically linked by name and location.


Watch video Create Lightning Web Components | Lightning Web Components Basics online without registration, duration hours minute second in high quality. This video was added by user Saurabh Infotech Solutions 04 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 33,409 once and liked it 46 people.