Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Which life cycle of an LWC does it receive a value from aura?

Asked by Ankur Vaish Apr 16, 2021 1.5K views 1 answer
Share

About this question

 I know it may be a simple question, but I'm passing url parameters received in my aura component and passing it to my LWC, like this: I want in my LWC to call an apex method as soon as the id is received from my aura component. Which life cycle is it? Connected or rendered? Or maybe the constructor? I want to use the most efficient way to automatically call that apex method. Thanks for the help!

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.