You need to sign in to do that
Don't have an account?
Frederick H Lane
Visual Studio Code - Difference between Lightning Web Components and Lightning Components
Why sre bundles created on Lightning Web Components (with the html file included), and some are Lightning Components (within the aura framework)
What,s the difference and when to use?
What,s the difference and when to use?
The Lightning Web Components (with the html file included) and the Lightning Components (within the aura framework) have the same role but they are very different for the writing.
When you look at the content, you will see very close components for the widgets at first glance.
Aura components follow the name format namespace:componentName, with a colon that separates the namespace and component name. Lightning web components follow the name format namespace-component-name, with a dash that separates the namespace and component name.
https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.migrate_map_aura_lwc_components
The difference for the name format of the components inside the template is just one (important) point among many others.
https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.migrate_base_components
In fact, there are two technologies with different syntax: Aura based component and Lightning Web Component.
We are moving towards the new Lightning Web Component (recent) because they are the fastest ones and they are more close to the standard technologies around javascript that people habitually use for the forms.
Aura Components are more "closed" for code sharing in javacript but the security of the LW Components is also very strong with their Shadow Dom.
LWC cannot be created with the developer console but the new feature of the local tests for LWC will make them quick to develop also.