Exam Plat-Dev-301 Topic 1 Question 57 Discussion
Actual exam question for Salesforce's Plat-Dev-301 exam
Question #: 57
Topic #: 1
Question #: 57
Topic #: 1
Consider the following code snippet:

How should the <e-orders> component communicate to the <c-selected-orders component that an order has been selected by the user?

How should the <e-orders> component communicate to the <c-selected-orders component that an order has been selected by the user?
Suggested Answer: D Vote an answer
Create and dispatch a custom event. This approach allows LWC components to communicate effectively, maintaining component encapsulation and reusability.
by Nelson at Aug 24, 2026, 10:54 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).