ExamGecko
Question list
Search
Search

Question 216 - Certified B2B Commerce Developer discussion

Report
Export

Which two statements are accurate?

A.
A Lightning Web Component cannot contain an Aura component
Answers
A.
A Lightning Web Component cannot contain an Aura component
B.
A Lightning Web Component can contain an Aura component
Answers
B.
A Lightning Web Component can contain an Aura component
C.
An Aura component can contain a Lightning Web Component which contains an Aura component
Answers
C.
An Aura component can contain a Lightning Web Component which contains an Aura component
D.
An Aura component can contain a Lightning Web Component
Answers
D.
An Aura component can contain a Lightning Web Component
Suggested answer: B, D

Explanation:

A Lightning Web Component can contain an Aura component, and an Aura component can contain a Lightning Web Component. This interoperability allows for a smoother transition from Aura to LWC and enables developers to utilize the strengths of both frameworks. However, nesting a Lightning Web Component within an Aura component which in turn contains a Lightning Web Component (Option C) is not a standard practice. For more information, refer to the Salesforce documentation on using Aura and Lightning Web Components together: Salesforce Aura and LWC Interoperability Documentation.

asked 23/09/2024
maddalena barbaro
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first