react-lazy-hydration icon indicating copy to clipboard operation
react-lazy-hydration copied to clipboard

Feature suggestion: an onInteraction parameter

Open daviddening opened this issue 3 years ago • 0 comments

I am on a project with a largish page, I found that waiting for the the user to interact with the DOM, a hover or a touch, before hydrating these elements greatly improved Time To Interactive. Google has a time window after idle where it listens for blocking and I believe onIdle triggers fast enough that Google bots see that as blocking interactivity.

I can/have done the above with the promise but wonder if a PR with onInteraction would be appreciated.

daviddening avatar May 06 '22 13:05 daviddening