-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node and Nodes - when is modern relay supposed to use these ? #1727
Comments
Relay Modern doesn't need |
@chollier Does Relay Modern not do any query diffing at all? I have a bunch of stuff nested under my |
@ohjames: Correct, no query diffing at all. We're trading off magic for explicit control because it leads to a simpler (and usually much faster) result. If you want to manage an expensive subset of a query explicitly you would use an abstraction like a refetch container to fetch only the subset, at a specific time that is appropriate to your UX. |
I am struggling to gather information on how to make best use of these graphql entries.
Modified my TypeSystem to allow for these 2, but the app does not seem to use them at all, I guess my colleagues supposed classic relay will "automagically" use them. How is relay supposed to make use of these entries?
p.s. I encountered the relay directive for plurals, but not sure how it comes into picture here as it looks like modern relay is passing the directive in the query and my implementation of the TypeSystem does not allow for that at the moment, should it be supported on the Schema as well ?
The text was updated successfully, but these errors were encountered: