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

graphql-codegen-typescript-react-apollo-template

Package Overview
Dependencies
Maintainers
1
Versions
1309
Alerts
File Explorer

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.24e6f8f5
npm
Version published
Weekly downloads
205
-89.73%
Maintainers
1
Weekly downloads
 
Created
Source

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 07 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