ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 387 - Certified Platform Developer II discussion

Report
Export

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.

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

A.
Add the @track decorator to the data variable.
Answers
A.
Add the @track decorator to the data variable.
B.
Create a new variable to store the result and annotate it with @tracx.
Answers
B.
Create a new variable to store the result and annotate it with @tracx.
C.
Call refereshApex () on this.data
Answers
C.
Call refereshApex () on this.data
D.
Create a variable to store the result and call refreshApex ().
Answers
D.
Create a variable to store the result and call refreshApex ().
Suggested answer: D
asked 23/09/2024
Jordan Reid
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first