Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.37 KB

Description

Demonstration on how to use some of the benefits of relay with react-apollo (or any graphql framework) by using the relay-compiler as a graphql-codegen plugin to transform/optimize queries.

Benefits:

  • More optimized Queries
  • Use Relay Features With Apollo
    • Fragment Arguments
    • Data Masking

Read the introduction and setup guide over here: Optimizing your Apollo Client Operations with GraphQL Code Generator and the Relay Compiler

Checkout the example app here: todo-app-example

Packages CircleCI

Use the relay-compiler foro ptimizing your GraphQL Queries.

Example usage of the packages/graphql-codegen-relay-optimizer-plugin plugin.

TODO