0% found this document useful (0 votes)
58 views1 page

LWC Interview Questions

The document lists 20 questions about Lightning Web Components including what decorators are used for, how to get record IDs, call Apex methods, use JavaScript and CSS files, pass data between parent and child components, custom events, and reactive properties.

Uploaded by

sorabhajmera453
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views1 page

LWC Interview Questions

The document lists 20 questions about Lightning Web Components including what decorators are used for, how to get record IDs, call Apex methods, use JavaScript and CSS files, pass data between parent and child components, custom events, and reactive properties.

Uploaded by

sorabhajmera453
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LWC interview question:

1. What are decorators in LWC? Name them.

2. Why do we use @api decorators?

3. How to get record id and object name in lwc?

4. What are the ways to call the apex method in lwc?

5. Why do we use $ in lwc component?

6. How we can use any javascript and css file in lwc?

7. How many times wire service call in lwc component?

8. What is a connected callback?

9. What is the difference between a connected callback and rendered callback?

10. Can we embed an aura component inside an LWC component and vice-versa?

11. How we can pass data from parent to child in lwc component?

12. How to pass data from child to parent in lwc?

13. What are targets in LWC? Name them.

14. What is the Property tag in LWC component?

15. Do we have custom event in LWC? Write its syntax.

16. What are loadScript and loadStyle in LWC?

17. How to create a constructor in lwc?

18. How you can query a DOM element in LWC?

19. What are reactive properties?

20. What type of data binding do we have in LWC?

You might also like