Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam CRT-450 Topic 3 Question 77 Discussion

Actual exam question for Salesforce's CRT-450 exam
Question #: 77
Topic #: 3
[All CRT-450 Questions]

A developer created a child Lightning web component nested inside a parent Lightning web component. The parent component needs to pass a string value to the child component.

In which two ways can this be accomplished?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Arminda
21 days ago
Haha, using Apex to pass data between components? That's like using a sledgehammer to crack a nut!
upvoted 0 times
Meghann
3 days ago
A) The parent component can invoke a public method in the child component.
upvoted 0 times
...
...
Sean
22 days ago
I believe option D is also a valid way to pass data, using a custom event.
upvoted 0 times
...
Hyun
25 days ago
I like B and D too. Apex controllers are for server-side logic, not for passing data between components.
upvoted 0 times
Miesha
5 days ago
B) The parent component can use a public property to pass the data to the child component.
upvoted 0 times
...
Ciara
6 days ago
A) The parent component can invoke a public method in the child component.
upvoted 0 times
...
...
Sylvia
29 days ago
I agree with Tommy, using a public method seems like the most straightforward approach.
upvoted 0 times
...
Elly
1 months ago
B and D are the way to go. Using public properties and custom events are the standard ways to pass data between parent and child components.
upvoted 0 times
Lashaunda
5 days ago
B and D are the way to go.
upvoted 0 times
...
...
Tommy
1 months ago
I think option A is the correct way to pass data to the child component.
upvoted 0 times
...

Save Cancel