I understand lifecycle hooks for a custom LWC. But how do I detect when a child LWC has loaded in the DOM? For example, let's say I have a <lightning-datatable> that is a child of a custom LWC I'm developing. What's the best way to detect when that datatable has loaded in the DOM?

  • 2
    This may be an X-Y Problem. What are you trying to accomplish? Where are you stuck? How can we help?
    – sfdcfox
    Commented Oct 8, 2021 at 18:28


You must log in to answer this question.