What's the best way of handling fragments in this case? #9696
Unanswered
ValenCassa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
So, my app has lots of tables which need pagination, filters, sorting, etc. arguments. The main query could look something like this:
Each of these fragments have different arguments. When using
Relay, you can define the arguments via the@argumentsDefinitionsdirective and then use theuseRefetchableFragmenthook so you don't need to move the state up to the main component. Is there any tool/plugin that would let me do that?Beta Was this translation helpful? Give feedback.
All reactions