General

What is Lightning Aura Component ?

Aura Components :-

Aura components are the self-contained and reusable units of an app. Aura is a framework on which we use lightning code .Uses JavaScript at the client slide and Apex at the server side thus makes powerful combination.

Benefits of using Aura Components:-

  1. Framework to create faster apps
  2. Works on any Platform like Mobile, Tablet etc.
  3. Component Centric Development
  4. Components can be reused
  5. Responsive User Interface

What is Lightning Bundles:-

In lightning components, a component is a bundle of code. The bundle contains all the resources related to a component like JavaScript controller, helper, renderer, css styles etc.

Lightning Bundles
  1. Lightning App:-This is the entry point for Lightning Process. This will call the lightning Component.
  2. Component –This contains the main UI code
  3. Controller– A JavaScript Controller is used for handling client-side processing or an apex controller is preferred for server-side processing.
  4. Client Slide Controller: This avoids trips to server and gives solution without hitting the server
  5. Helper: This is also written in JS .This helps to achieve coding best practice.
  6. Style :We can easily give styling to our component using SLDS
  7. Renderer :This helps to override the rendering /UI of current project
  8. Documentation File– A documentation file is used to provide reference documents or sample code to users who have received your component.
  9. SVG File– SVG File enables you to include custom icons that can be used for reference further.

3 thoughts on “What is Lightning Aura Component ?”

Leave a comment