Generate strongly typed, flexible & fast client SDK from any GraphQL API
This project is in alpha stage. You can clone & build it locally.
-
Strongly Typed
- Client typings - replaces
graphql-code-generator
orapollo-cli
for most cases - Configurable - many common codegen options and custom APIs for complete control
- Client typings - replaces
-
Flexible
- Enviroment agnostic - browser / node / react native (as long as it supports ES6 proxies)
- Framework agnostic - created with react in mind, but can be used with any frontend or server-side framework
- Client agnostic - with tiny adapter function any graphql client will work
-
Fast
- Lightweight - client-side ships with absolutely no dependencies (
graphql
recommended as devDep for typings) - Efficient lazy runtime - queries & fragments are generated efficiently (max few ms) at runtime (to avoid shipping and evaluating graphql strings) with additional fragment and query level caching (to shave another miliseconds of huge queries)
- Lightweight - client-side ships with absolutely no dependencies (
-
And also...
- Modular - most packages provide generic, reusable functionality
- Multi-build - ESM / CJS