GOAL
Here is top frequently asked questions of LWC.
QUESTIONS
1. Explain LWC Lifecycle Hooks?
Here is official Salesforce doc: Lifecycle Hooks: https://developer.salesforce.com/docs/platform/lwc/guide/create-lifecycle-hooks.html
2. How LWC components communicates each Other?
- Communication with Child comp
- Communication with Parent Comp
- Communication with unrelated comp
Here is Salesforce official document: https://trailhead.salesforce.com/content/learn/projects/communicate-between-lightning-web-components
3. Ways to call Apex from LWC
To call an Apex method:
Consider several ways to call an Apex method:
Here is official Salesforce doc: https://developer.salesforce.com/docs/platform/lwc/guide/apex.html