List of questions
Related questions
Question 387 - Certified Platform Developer II discussion
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.
B.
Create a new variable to store the result and annotate it with @tracx.
C.
Call refereshApex () on this.data
D.
Create a variable to store the result and call refreshApex ().
Your answer:
0 comments
Sorted by
Leave a comment first