Replies: 4 comments 1 reply
-
If we're going to be stitching operations together now from fragments, clustered together in a central location seems nice. |
Beta Was this translation helpful? Give feedback.
-
It seems like they really want to you to keep the fragment minimal and tailored to the component. It seems similar to props - keep it close to the component or move it out of the file if it gets too big. |
Beta Was this translation helpful? Give feedback.
-
@esizer can this discussion be closed? |
Beta Was this translation helpful? Give feedback.
-
We have completed the migration so this is outdated and no longer needed. |
Beta Was this translation helpful? Give feedback.
-
We will eventually be moving to a new configuration for
graphql-codegen
. While we could continue with our current way of doing things, it really encourages defining operations in a*.tsx
file to leverage new features.Since we will be changing the file type, this gives us an opportunity to decide, should we change where these operations are located?
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions