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
Posted in CSS

CSS : Differentiate Styles between IE and Other Browser

There are times when we need to write browser specific CSS. But, without any JavaScript code, just like media queries are used to write responsive CSS, we can use plain CSS to differentiate styles across IE and other browsers.

We may need this IE and other browser differentiating styles in order to make our application compatible with old un-upgraded IE engine, but still want to give the good layer of coating to support new browsers with fancy styles which almost are broken in Internet Explorer.

Continue reading “CSS : Differentiate Styles between IE and Other Browser”
Posted in Bible, Thoughts, Verse Explanation

Being the Salt of the Earth

Matthew 5:13-16 says, “You are the salt of the earth. But if the salt loses its saltiness, how can it be made salty again? It is no longer good for anything, except to be thrown out and trampled underfoot. You are the light of the world. A town built on a hill cannot be hidden. Neither do people light a lamp and put it under a bowl. Instead they put it on its stand, and it gives light to everyone in the house. In the same way, let your light shine before others, that they may see your good deeds and glorify your Father in heaven.”

God says we are the Salt of the Earth. What does it mean to be a salt? How can be a salt?

Continue reading “Being the Salt of the Earth”