Category: Lightning Web Component

Test LWC with Jest

Jest is a powerful JavaScript testing framework for the client-side project. It’s supported in any React Application, Node, Babel, TypeScript as well as Salesforce Lightning Web Component.Jest uses jsdom to provide an environment like...

4,005 total views, 15 views today

Showing Static Record using Apex to Wire Mechanism

Now, we will see how to get Salesforce data as static way using Apex. We have built a LWC named “showWireApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController” by which we...

2,929 total views, no views today

Showing Static Record using Apex to Imperative Mechanism

Now, we will see how to get Salesforce data as static way using Apex with Imperative way. We have built a LWC named “showImperativeApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController”...

2,530 total views, 3 views today

Apex Imperative Method with Parameters

Now, we will study how to get data based on some parameters from Lightning Platform Database using Imperative Way with Parameters in Lightning Web Component. To do this exercise, we will show the Contact...

10,411 total views, 9 views today

Apex Imperative Method

Already, we have studied how to get data from Lightning Platform Database using wire mechanism in Lightning Web Component. Now, we will study how to get data from Lightning Platform Database using Imperative Way...

8,466 total views, 3 views today