react-lazy-hydration
react-lazy-hydration copied to clipboard
Feature suggestion: an onInteraction parameter
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.