Code samples to quickly start playing with Lightning Web Components:

 

getContactList.html

getContactList.js

*connectedCallBack(): Check out this function. This is a replacement of “init” event in Aura component.

Apex Controller

Related posts