0

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?

4
  • 2
    Have you tried looking for LWC developer guide? Commented May 17, 2021 at 6:08
  • 1
    welcome 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?
    – ytiq
    Commented May 17, 2021 at 6:09
  • I am trying to mean that any visualforce component like apex:composition can be used in lightning? Commented 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. Commented May 17, 2021 at 6:34

1 Answer 1

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .