Closed jablko closed 3 years ago
Instead of fetching every cursor, just fetch
endCursor
frompageInfo
.hasNextPage
saves one final network request.
Did you mean to write:
Instead of fetching every cursor, just fetch
endCursor
frompageInfo.hasNextPage
. Saves one final network request.
?
That could have been clearer, sorry. I've revised the description slightly.
(Added the fixed text to the commit.)
Instead of fetching every cursor, just fetch
pageInfo.endCursor
. Also,pageInfo.hasNextPage
saves one final network request.