Open Khandagale-Saurabh opened 2 years ago
.cmp in aura & .html in lwc
Why Choose LWC Over Aura? Modern JavaScript development: The Aura Components programming model supports ES5 syntax and ES6 Promises. But if we want to use ES6 or later for development then LWC comes in highlight for modern JavaScript development. lwc have: Classes Modules Promises Decorators Web Components Custom Elements Shadow DOM
Keys differences in Aura and LWC development Developer tooling : Unlike like Aura You cannot edit or develop LWC components in the Developer Console. You’ll need to use another integrated development environment (IDE), like Visual Studio Code (VS Code) because Salesforce has released an extension pack to make lwc development easier and faster.
Syntx
if we want to work with HTML ,js we use vsf and vsf work on Model ,view, Contreoller