Blogs
-
Creating A Universal Class For Simulating REST Callouts in Unit Tests
I’m initiating a new routine of weekly blog posts, beginning with advice on crafting a versatile class or a mock factory to simulate interactions with an external third-party service. What’s the rationale behind using a mock When running unit tests the platform does not allow to do a callout to external dependencies. To test our…
-
Utilizing Decorators in Lightning Web Components
How can decorators be employed in Lightning Web Components? I aim to enhance my skills in Lightning Web Components (LWC) and develop a course within the coming months. While exploring LWC, aside from realizing that kebab case isn’t related to food, decorators stood out as another concept that intrigued me. I’ve used them, but I…
-
Communication Between parent And Child Components in Lightning Web Components LWC
We’re all familiar with the prominence of Lightning Web Component (LWC) as one of Salesforce’s programming models for building Lightning Components. It stands out among Salesforce developers and receives commendation from the company itself. Wondering why it’s widely adopted? Well, its speed and lightweight nature make it a top choice. The primary objective behind adopting…