Socket
Socket
Sign inDemoInstall

graphql-codegen-typescript-react-apollo-template

Package Overview
Dependencies
1
Maintainers
1
Versions
1309
Alerts
File Explorer

Advanced tools

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`.


Version published
Weekly downloads
2K
increased by843.78%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 08 Aug 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc