Search with infinite scrolling using rxjs/observables


what is the best practice to implement a search functionality, taking advantage of observables/rxjs while using infinite scroll?

So I found several articels regarding normal search, like or paginated search but I still have trouble to map this to some useful pattern to use for a infinite scrollable list.

How to deal with the old result set, the service call would have to preserve the old result if only the “range” of viewed items changed but not the search term. But also it should not leak the whole result set once user is done with searching or searching a different term.

Does somebody have an example of how to implement this service calls?


1 Like