-
I've got an infinite query setup to display a list of recommendations:
The majority of the data for each recommendation exists in the cache, so I was looking to prepopulate the recommendation using initialData:
The problem with the above is that it doesn't account for the later page numbers: I haven't really been able to get my head around how to pass the page numbers into this? Any help would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I guess you just want to loop over all pages and take the first one where a recommendation was found?
|
Beta Was this translation helpful? Give feedback.
I guess you just want to loop over all pages and take the first one where a recommendation was found?