graphql-code-generator
WhatsApp-Clone-Client-React
Our great sponsors
graphql-code-generator | WhatsApp-Clone-Client-React | |
---|---|---|
69 | 5 | |
10,632 | 611 | |
- | - | |
9.1 | 0.0 | |
3 days ago | 13 days ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-code-generator
-
Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
The @graphql-codegen library is a bridge between your GraphQL schema and the actual code you write. It automates the generation of boilerplate code, ensuring that your data fetching layer is always up to date with your content structure.
-
The complete GraphQL Scalar Guide
In typescript and typescript-resolvers plugin v4.0.1, we have reverted the default ID Scalar input type to string. Read the pull request for more details.
-
Looking4Library: A GraphQL client that has query methods on the generated types
See https://github.com/dotansimha/graphql-code-generator with @graphql-codegen/typescript-graphql-request plugin
-
graphql-code-generator VS gqless - a user suggested alternative
2 projects | 2 Jun 2023
-
Making GraphQL Codegen Work For You: GraphQL Integration with React and TypeScript
Graphql Codegen is a code generation library for GraphQL that enables developers to generate custom code. It provides us developers with the ability to generate type definitions, query builders, documentation, and more by analyzing our GraphQL schemas. This makes it easier and faster to build GraphQL applications and reduces the time spent coding.
-
help wanted: Typescript GraphQL Types Response
It is already incoming, with an example in the repository. š https://github.com/dotansimha/graphql-code-generator/pull/8863
-
Why does this package.json script for graphql-codegen only work if the package is installed directly in the package.sjon, even if it already exists in node_modules?
The actual package is @ graphql-codegen/cli
-
Why we ditched GraphQL for tRPC
GraphQL Codegen generates frontend types and React hooks from our GraphQL request definitions.
-
A journey towards a type-safe GraphQL API server
There are two main approaches to keeping the types of the GraphQL schema and entities in business logic in sync. You can generate the schema based on your TypeScript code (e.g. TypeGraphQL), or you can generate types based on your schema (e.g. GraphQL Code Generator). We opted for the latter since it slotted right into our existing GraphQL server implementation using Apollo Server.
-
Move to Hasura/GraphQL for db
For querying in React make sure you use GraphQL code generator https://www.the-guild.dev/graphql/codegen
WhatsApp-Clone-Client-React
-
WhatsApp Clone using Angular, GraphQL, Apollo, TypeScript and PostgreSQL
This tutorial was written using Tortilla ā the Tutorial framework.
-
WhatsApp Clone using React (Hooks+Suspense), GraphQL, Apollo, TypeScript and PostgreSQL
Client ā urigo/WhatsApp-Clone-Client-React
-
<š
> Introducing a new encapsulation method for Styled-Components with Babel
When I was writing the WhatsApp-Clone I used a different approach to overcome the problems mentioned above. Instead of creating a dedicated component for each styled element, I used a container that has all the CSS rules with private classes. By private classes I mean, classes which start with an underscore (e.g. _my-class). This way Iām less likely to collide globally defined CSS rules:
- Stencil-Apollo - Stencil meets GraphQL
-
GraphQL Code Generator - Introducing Hooks support for React Apollo plugin
If you want to see graphql-code-generator in action, you can look at the awesome WhatsApp-Clone-Client-React project made by The Guild. Here is the diff (thanks to Eytan Manor) showcasing the generated hooks applied to a real codebase.
What are some alternatives?
nexus - Code-First, Type-Safe, GraphQL Schema Construction
Passport - Simple, unobtrusive authentication for Node.js.
contentful-typescript-codegen - Generate TypeScript interfaces from a Contentful environment
stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
apollo-client - :rocket: Ā A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
rtk-query-codegen
react-apollo
lint-staged - š«š© ā Run linters on git staged files
WhatsApp-Clone-Server - https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial