Skip to content

ALagoni97/graphql-codegen-graphql-hooks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Codegen - GraphQL Hooks

npm

Supports all hooks:

  • useQuery
  • useMutation
  • useSubscription

Install

yarn add @stefanoruth/graphql-codegen-graphql-hooks

or

npm install @stefanoruth/graphql-codegen-graphql-hooks

Quick Start

Add the plugin to youre codegen.yml config

schema: 'my-schema.graphql'
generates:
    output.ts:
        plugins:
            - 'typescript'
            - 'typescript-operations'
            - '@stefanoruth/graphql-codegen-graphql-hooks'

About

Added subscriptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%