disqus / disqus-react

A React component for Disqus
MIT License
369 stars 46 forks source link

Is there a way to tell when the component has loaded? #107

Closed joehuggans closed 2 years ago

joehuggans commented 3 years ago

I am using loco scroll and when the disqus component loads I need to refresh things so that the new page height is taken into account.

I am just wondering whether there is a way to detect this?

tterb commented 3 years ago

@joehuggans You should be able to use the onReady or afterRender callbacks to detect when the component is finished loading.