Skip to content

Pass custom variables to queries at component level #55

Answered by rrdelaney
tz-torchai asked this question in Q&A
Discussion options

You must be logged in to vote

relay-nextjs only supports one page-level query; any additional queries should be done with useLazyLoadQuery. If you're looking to compose data for multiple components I recommend using fragments.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rrdelaney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants