Done Rendering (Deprecated)
aura:doneRendering
Indicates that the initial rendering of the root application or root component has completed.
The aura:doneRendering event is deprecated. Use the render event instead. Unless your component is running in complete isolation in a standalone app and not included in complex apps, such as Lightning Experience or the Salesforce mobile app, the container app may trigger your event handler multiple times. This behavior makes it difficult to handle each event appropriately.
This event is automatically fired if no more components need to be rendered or rerendered due to any attribute value changes.
Handle the aura:doneRendering event in a client-side controller. A component can have only one <aura:handler> tag to handle this event.
For example, you want to customize the behavior of your app after it’s finished rendering the first time but not after subsequent rerenderings. Create an attribute to determine if it’s the first rendering.
This client-side controller checks that the aura:doneRendering event has been fired only once.
