🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

graphql-codegen-typescript-react-apollo-template

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-codegen-typescript-react-apollo-template

This template generates React Apollo components with TypeScript typings. This template is extended version of TypeScript template, so the configuration is same with `graphql-codegen-typescript-template`.

0.11.0-alpha.e41fa5fe
Version published
Weekly downloads
2K
2501.3%
Maintainers
1
Weekly downloads
 
Created

TypeScript React Apollo Template

This template generates React Apollo components with TypeScript typings. This template is extended version of TypeScript template, so the configuration is same with graphql-codegen-typescript-template.

  • Example Input
query Test {
  feed {
    id
    commentCount
    repository {
      full_name
      html_url
      owner {
        avatar_url
      }
    }
  }
}
  • Example Usage
  <Test.Component query={...} variables={...}>
    ...
  </Test.Component>

FAQs

Package last updated on 08 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts