Which three approaches should a developer implement to obtain the best performance for data retrieval when building a Lightning web component? (Choose three.)
A.
Use (Cacheable=true) whenever possible.
B.
Use the Lightning Data Service.
C.
Use layoutTypes: [‘Full’] to display a set of fields.
AB....E.....D
According to Salesforce documentation, the getRecordUi is deprecated. Perhaps this may have been the choice before as it gets page layouts, metadata, and data with ease, and lazy loading was set to be used on occasion, which would lead to E having more value. But since it is deprecated, I would now go with ABD.
https://developer.salesforce.com/docs/platform/lwc/guide/reference-wire-adapters-record-ui.html
Should be A, B, D. Lazy load is necessary when loading large data sets.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Sapphire808
1 year, 1 month agoshoeb2sidiqui
1 year, 3 months agoAppleDash
1 year, 8 months ago