We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Why Hooks are the future" https://blog.apollographql.com/apollo-client-now-with-react-hooks-676d116eeae2
Hooks have been declared as the future of Apollo client, and also reduces the bundle size (if you only use the apollo hooks API for querying.
Maybe modify codegen.yml to emit hooks like in this example from the internet:
models.tsx: documents: "packages/files-client-state/src/**/*.gql" schema: - ./packages/client-state/src/**/*.graphql - ./packages-modules/module/server/src/graphql/**/*.graphql config: namingConvention: keep typesPrefix: I withMutationFn: true withHOC: true withComponent: true withHooks: true preset: "@cdmbase/import-types-preset" presetConfig: typesPath: "core" importTypesNamespace: SchemaTypes
The text was updated successfully, but these errors were encountered:
would love to see hooks support in this as well!
Sorry, something went wrong.
Totally open to adding hooks. I'm not actively maintaining this project atm, so would appreciate any PRs.
No branches or pull requests
"Why Hooks are the future"
https://blog.apollographql.com/apollo-client-now-with-react-hooks-676d116eeae2
Hooks have been declared as the future of Apollo client, and also reduces the bundle size (if you only use the apollo hooks API for querying.
Maybe modify codegen.yml to emit hooks like in this example from the internet:
The text was updated successfully, but these errors were encountered: