How do I know any visualforce component like apex:composition is supported in Lightning or not? or how do I also know the corresponding Lightning component of any Visualforce component?
-
2Have you tried looking for LWC developer guide?– anxiousAvocadoCommented May 17, 2021 at 6:08
-
1welcome to the community, can you please be more specific with your question, what do you mean by supported? Does it has analogues in LWC, Aura or can you use it with Visualforce in Lightning?– ytiqCommented May 17, 2021 at 6:09
-
I am trying to mean that any visualforce component like apex:composition can be used in lightning?– jhumur chatterjeeCommented May 17, 2021 at 6:24
-
No it cannot be. Since they are 2 different languages and follow different component architecture. Refer the lwc developer guide.– anxiousAvocadoCommented May 17, 2021 at 6:34
Add a comment
|
1 Answer
You cannot reuse Visualforce components (i.e apex:composition
) inside Aura and LWC, but you can add your Visualforce pages to Lightning via App Builder or iframe
) because new Salesforce UI frameworks are not backwards compatible, they are forward compatible.
It means that you can use Aura and LWC in Visualforce, but not vice versa.
If you want to learn Lightning development, please refer to Trailhead and LWC developer guide.