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
-
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@argumentsDefinitions
directive and then use theuseRefetchableFragment
hook 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