Category: Development

A “Provider” Pattern in Salesforce Lighting

As a developer coming to Lightning, one of the immediate questions is:

How can I share code between my components?

Well, there’s a nice summary of two code-sharing options on the Salesforce Developers Blog: Modularizing Code in Lightning Components. But, Continue reading “A “Provider” Pattern in Salesforce Lighting”

Using Javascript Promises to chain asynchronous actions in Salesforce Lightning

Even the title of this article might make your head spin. But, if you develop Lightning Components, try to stick with it: it addresses a tricky use-case when coding Lightning Components and it is actually very neat when you get to the end.

Continue reading “Using Javascript Promises to chain asynchronous actions in Salesforce Lightning”