Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDII All Questions
Exam PDII All Questions

View all questions & answers for the PDII exam

Salesforce Developers PDII Question # 32 Topic 4 Discussion

PDII Exam Topic 4 Question 32 Discussion:
Question #: 32
Topic #: 4

A developer is creating a Lightning web component that displays a list of records in a lightning-datatable. After saving a new record to the database, the list is not updating.

PDII Question 32

What should the developer change in the code above for this to

happen?


A.

Call rafrasnApex() ON this.dazta.


B.

Create a new variable to store the result and annotate it with @track.


C.

Create a variable to store the result and call refreshpex().


D.

Add the @track decorator to the data variable.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.