Prefetch on page load?

Hey guys,

I’m displaying search results and using wire:click.prefetch on the “next page” button to speed up loading the next page’s results.

This works great, however, I’d like to ideally do the following:

On page load - prefetch the next page’s results automatically (without needing to hover over the button)

I’m sure this must be possible but I can’t figure out how.

Any thoughts?

Wonder if mimicking a hover with JavaScript will do the trick?

how about using wire:poll instead?