Lightning Components Overview

One of the great things I love about Salesforce is it’s ability to make things easy for the user and powerful for the developer and Lightning Components are no different. The Lightning Component framework is a UI framework for developing single page applications for mobile and desktop devices.

You can build Lightning components using two different programming models: the Lightning Web Components model and the original Aura Components model. Basically, Lightning Web Components are just custom HTML elements that are built using HTML, JavaScript and CSS on the front end with the ability to connect to Apex on the backend as a controller. The great thing is that both Lightning Web Components and Aura Components can coexist on the same page.

The below code shows a simple hello world output using HTML, Javascript and CSS.


 <template> {TestOutput} </template> 


 import { LightningElement } from 'lwc'; export default class App extends LightningElement {...
Continue Reading...

50% Complete

Get our latest tutorials, tips and tools to help you learn to be an Apex Programmer!

Every week I'll update you on the latest from Apex Coding Academy and you'll get first access to new resources, offers and events.