Somehow I get this loop with my getRows query and my getTotalRows query.
I've added the getRows query as data source of a custom collection. I enabled the pagination. I run the query using getTotalRows.trigger() after a successful run of getRows (that seems to be called when the component is rendered) under the event handlers section of the query.
As "Total row count" i've tried this:
{{ getTotalRows.data !== null ? getTotalRows.data.count[0] : 1 }}
What happens is that after getTotalRows has finished, the collection is somehow updated because of the "Total row count" field being updated. This triggers getRows again because it's set to "run query automatically when input changes". So I set this to manually, but then the pagination stops working because it doesn't trigger the getRows anymore.