You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the HTML of the page loads super slow, the JS for interactions like marking as read or favoriting attaches too slowly. The HTML of the page hasn't finished downloaded yet but the browser still starts rendering content.
I need a way to start attaching events to DOM elements as soon as they appear in the document rather than waiting for the full document to be rendered.
Possible things to look into: intersection observer, mutation observer.
The text was updated successfully, but these errors were encountered:
When the HTML of the page loads super slow, the JS for interactions like marking as read or favoriting attaches too slowly. The HTML of the page hasn't finished downloaded yet but the browser still starts rendering content.
I need a way to start attaching events to DOM elements as soon as they appear in the document rather than waiting for the full document to be rendered.
Possible things to look into: intersection observer, mutation observer.
The text was updated successfully, but these errors were encountered: