Tuesday, 13 September 2016

Introducing Lightning Base Components

Lightning Base Components are great addition to the platform and in fact revolutionary .One of the concerns around lightning component development had been need to write too many lines of code and wire lot of JavaScript code for simple things like handling check boxes ,select list ,validations and so on .Having a base component library is certainly great first step . 

Lightning Base Components introduced in winter 17 release is documented here .Please note that many of these components are in BETA mode .

One of the things as a Visualforce developer I found harder when I was new to development was documentation did poor job to help imagine the UI and how the components will render  .I see the same issue with lightning components developer guide .

While the base components are listed and sample code is shown ,still to my fellow designers I am sure this is night mare to imagine or even for developers there will need to copy paste the code and preview how the markup renders which is definitely not respecting their time .

I quickly made a small documentation that would help the designers as well .

Here is the link to the documentation on git 


Here is a small unmanaged package in case you want to play around with all components 

The package contains all components inside a simple lightning App Page 


Note that there is lot of attributes that provides ability to do lot of Javascript actions declaratively  and  we will dig into each one of them via separate blogpost where I will test each of them and leave my experience and feedback .
 

 

Introducing Lightning Base Components

Lightning Base Components are great addition to the platform and in fact revolutionary .One of the concerns around lightning component ...