Activity › Forums › Salesforce® Discussions › What is $Lightning.createComponent() in Salesforce? Salesforce® Discussions What is $Lightning.createComponent() in Salesforce? Posted by Aditya on May 20, 2020 at 3:46 PM What is $Lightning.createComponent() in Salesforce? Anuj replied 6 years ago 2 Members · 1 Reply 1 Reply Anuj Member May 20, 2020 at 4:16 PM It is used to create a single component on click of button using javascript controller Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me