metafizzy / infinite-scroll

📜 Automatically add next page
https://infinite-scroll.com
7.41k stars 1.74k forks source link

infinite-scroll with websockets #965

Open FlaviuRadulescu opened 1 year ago

FlaviuRadulescu commented 1 year ago

Hi,

is there any way in which I could implement infinite-scroll with websockets?

From what I see in the documentation, path is mandatory, but in the case of a websocket there is no path that could be defined.

The way I would like to implement is to use the trigger 'request' for when I need to do the websocket requests.

What would be the best way to implement something like this?