Skip to content

Instantly share code, notes, and snippets.

@dittos dittos/Relay
Last active Aug 29, 2015

What would you like to do?
Relay Internals

Relay.QL transformation

  • Relay.QL`... `
  • -> babel-relay-plugin GraphQLPrinter
  • -> A function that returns Relay GraphQL ('Query Builder')

Collecting queries

Subtracting queries

If field is requisite, keep it (ex: id, ...)

Running queries

!forceFetch && no cache case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.