Activity Forums Salesforce Questions and Answers What is disconnectedCallback()?

  • What is disconnectedCallback()?

  • Saddam

    Member
    October 1, 2019 at 6:16 am

    What is disconnectedCallback()?

  • Nikita

    Member
    October 1, 2019 at 6:51 am

    Hi,

    The disconnectedCallback()lifecycle hook fires when a component is removed from the DOM.

  • Pooja

    Member
    February 13, 2020 at 12:48 pm

    The disconnectedCallback() lifecycle hook fires when a component is removed from the DOM(Data Object Model). It is just opposite of the connectedCallback().

  • Shweta

    Member
    February 13, 2020 at 2:46 pm

    disconnectedCallback() : When the element is removed from a document and this hook flows from parent to child.

Viewing 1 - 4 of 4 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now