ExamGecko
Question list
Search
Search

Question 15 - Certified B2B Commerce Developer discussion

Report
Export

What are two advantages of using Lightning Data Service?

A.
Communicates with other components
Answers
A.
Communicates with other components
B.
Converts between different data formats
Answers
B.
Converts between different data formats
C.
Combines and de-duplicates server calls
Answers
C.
Combines and de-duplicates server calls
D.
Loads record data progressively
Answers
D.
Loads record data progressively
Suggested answer: C, D

Explanation:

Two advantages of using Lightning Data Service are that it combines and de-duplicates server calls and that it loads record data progressively. Lightning Data Service is a service that provides access to Salesforce data and metadata in Lightning web components. It optimizes performance and minimizes server round trips by caching data on the client side and sharing data across components. It also combines and de-duplicates server calls by batching requests for the same record or object and returning a single response. It also loads record data progressively by returning available cached data first and then fetching updated data from the server asynchronously. Communicating with other components and converting between different data formats are not advantages of using Lightning Data Service, as they are not related to its functionality or features. Salesforce

Reference:Lightning Web Components Developer Guide: Lightning Data Service,Lightning Web Components Developer Guide: Work with Salesforce Data

asked 23/09/2024
Oliver Lüthi
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first