- (Exam Topic 3)
A lead developer is creating tests for a Lightning web component. The component re-renders when a property called bypassSelection. changes its value.
What should the developer use to the test that the component re-renders successfully when the property changes?
Correct Answer:
C
- (Exam Topic 1)
A developer created a custom component to display an HTML table. The developer wants to be able to use the component on different Visualforce Pages and specify different header text for the table.
Which tag should the developer use inside the component?
Correct Answer:
D
- (Exam Topic 3)
A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitted support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records the selected filters.
What should the developer do to improve performance of the component?
Correct Answer:
A
- (Exam Topic 1)
A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component. What should the developer do to ensure a more meaningful message?
Correct Answer:
A
- (Exam Topic 3)
What are three reasons that a developer should write Jest tests for Lightning web components? Choose 3 answers
Correct Answer:
BDE