
GraphQL conditional queries: using skip and variables in Apollo
How to skip an Apollo GraphQL query until its variables exist, with a small variablesOrSkip helper that keeps TypeScript happy.
Articles about GraphQL, Apollo, and API development.

How to skip an Apollo GraphQL query until its variables exist, with a small variablesOrSkip helper that keeps TypeScript happy.