Posted in Salesforce

Salesforce Lightning : A better way to handle component.find return value

I have always seen Salesforce Aura Component developers using multiple checks before fetching data from component.find method. It is because, it does return three types of results:

  1. undefined – when there are no items found on the DOM
  2. Single component – when there are only one item found in the DOM
  3. Array of components – when there are more than an item found in the DOM
Continue reading “Salesforce Lightning : A better way to handle component.find return value”
Posted in Pyx of repository

Book Review: The Fearless Organization

This book by Amy C. Edmondson expresses the ways to create a Psychological Safety in the workplace for learning, innovation and growth.

Psychological Safety is broadly defined as a climate in which people are comfortable expressing and being themselves. People feel their workplace is an environment where they can speak up, offer ideas, and ask questions without fear of being punished or embarrassed.

Click to Read more