Re:Tutorial: Designing a GraphQL API
by andrewingram on Tuesday July 17, 2018 @07:49AM
(#17549003)
The Relay patterns are are decent starting point, but even if using Relay they're more-or-less optional
Relay connections (cursor-based pagination) are decent for many reasonable use cases, but if you absolutely do need random access (let's say you have a virtualized list where a user can scroll quickly to a specific point and load only the data local to it), you'll have to bring your own pagination solution.
Relay connections (cursor-based pagination) are decent for many reasonable use cases, but if you absolutely do need random access (let's say you have a virtualized list where a user can scroll quickly to a specific point and load only the data local to it), you'll have to bring your own pagination solution.