Callbacks, Events, and More: Bring Sanity to Asynchronous Lightning Code (2)

Callbacks, Events, and More: Bring Sanity to Asynchronous Lightning Code (2)

Every time you call "$A.enqueueAction" in your Lightning component, you're making an asynchronous call to Apex and handle the results in a callback. As your components grow in complexity, callback hell seems inevitable, but it doesn't have to be! In this session, we'll review practices to make your Lightning components more modular, consistent, and comprehensible by using Lightning Events and building reusable utility components that eliminate boilerplate code and flatten your callback chains.
Watch the latest videos from Salesforce.
Welcome to Salesforce Customer 360, One Integrated CRM Platform for uniting Marketing, Sales, Commerce, Service, and I.T. Departments.
Watch stories filled with thought leadership, inspiration, and insights from business leaders and our greater community.

Join our ten-part series to hear top CEOs share their stories with host Monica Langley.

Meet today's most innovative marketers.
Hear how Trailblazers in education are ensuring class is in session for all.
Female leaders discuss challenging the status quo and forging a new path forward for everyone.

Discover more videos & live broadcasts on Salesforce LIVE.