houdini
graphql-request
houdini | graphql-request | |
---|---|---|
6 | 30 | |
859 | 5,654 | |
0.7% | 0.4% | |
8.9 | 9.4 | |
8 days ago | 1 day ago | |
TypeScript | TypeScript | |
MIT License | 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.
houdini
-
How can I do auth with URQL
Other random input. Maybe take a look at houdini. https://github.com/HoudiniGraphql/houdini
-
SvelteQuery vs KitQL vs others
Full disclosure: I'm the author of KitQL & maintainer of Houdini I've been in the GraphQL ecosystem for a long time and love it. I discovered Svelte early 3.0 and directly opt-in SvelteKit at the very beginning. I've tried different approaches with codegen Apollo & urql. Helping developing graphql-codegen-svelte-apollo at first then urql-svelte-operations-store. Contributing / creating / maintaining open source is something I like to do to build a friendly community around similar stacks. Then gQuery came out and took a radical new approach to things in a great way. I was hyped about it, especially for the simplicity and SSR out of the box. I believe that multiple projects bring new ideas to the community, which is awesome. It's here that I created KitQL to unlock some options that I need for my customers (Yes, I don't do only open source ^^). My aim with KitQL is to focus on two things: 1/ Embrace the community. To build something with others that satisfies many use cases. 2/ Build a full stack GraphQL on SvelteKit. Client + Server, using all powerful tools from The Guild. Thx to the community; we get to speak with amazing people, and I got the chance to talk with the Houdini author. After a few conversations, we decided to join forces. KitQL Client had a few issues that will be complicated to solve: no normalized cache, prefetch cannot work, leaks in SSR... to name a few. So I deleted KitQL Client in favor of using Houdini. KitQL is now focused on the backend part and module development (but it's not the topic here). Houdini has significantly evolved in the last months to bring KitQL flow inside + keep all its benefits! I think that it has a unique DX matching a lot of different styles of programming. You want your GraphQL operations in a separate file? Inside your Svelte componennt? You want Houdini to generate some boilerplate to focus only on your business logic? You want Houdini to create magic fragments to insert into a list automatically after a mutation? Houdini got you covered! And you know what? With the new '+page.svelte' directory structure, Houdini will go to another level!!! In a few days, we will merge a PR that will improve even more the DX and will be sooo integrated with the new SvelteKit changes. //I'm so excited about it. Come and check #BuildInPublic https://github.com/HoudiniGraphQL/houdini As you could read, the most important is the community, so thank you!
-
Svelte GraphQL Resources
Repository
- GraphQL and SvelteKit
-
Building an Application with GraphQL and SvelteKit
So, you've decided to build an application with two of the most hyped projects in our community (SvelteKit and GraphQL, in case you didn't read the title). After browsing the internet for a bit, you've probably ran into various posts showing how to send a query in Kit's load and use it to populate the cache driving one of the more common GraphQL libraries. If you're like me, it probably left you with a bit of an unsatisfying feeling. GraphQL was supposed to reduce the amount of boilerplate necessary to build a user interface, right? Surely there's a way to pull this off without all that ceremony. Well, in this blog post I'll introduce you to houdini, a new GraphQL client I've been working on that's built for SvelteKit. Hopefully by the end of this you'll agree that it dramatically reduces the overhead of building a GraphQL application with SvelteKit.
- Houdini - The "disappearing" Svelte GraphQL client with support for Sapper and Sveltekit
graphql-request
-
A Simple Way to Sign AWS Requests with Signature V4
The aws-sigv4-fetch package can be integrated into GraphQL libraries like graphql-request. For example, you can pass the signedFetch function as the custom fetch option:
-
Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
For Next.js projects, one of the options can be the typescript-graphql-request plugin. Under the hood this plugin works with the graphql-request library — a minimal, flexible, and easy-to-use GraphQL client. With typescript-graphql-request, we generate an SDK that is fully typed and allowing us to make strongly-typed GraphQL requests. This nicely integrates with data fetching in Next.js Server Components, enabling us to pre-render pages with data from Storyblok.
-
How to use SWR with GraphQL Apollo client?
but i don't want to use that external library
- Is graphql-request a good tool for only client side api? Share your feedbacks. Thanks 🙏
-
How to build a Snowflake API?
An example of a Snowflake API request using JavaScript. This example uses the graphql-request library to issue the actual GraphQL request. Install the dependency:
- 2022 Best GraphQL Client? Currently using GraphQL-CodeGen + Apollo Client
-
Four ways to fetch data from the GitHub GraphQL API in Next.js
I mentioned already we can use just about any client want when fetching GraphQL data. Prisma's graphql-request is a simple and lightweight option, and that is what I’ve used here.
-
Managing a Remix Site's Content With Sanity.io
To do this, you will make use of a tool called GraphQL Codegen to generate TypeScript types based on the GraphQL schema Sanity provides. You will then use graphql-request to actually fetch the data.
-
SvelteQuery vs KitQL vs others
What about https://github.com/prisma-labs/graphql-request that has 4.8k starts / 254 forks?
-
How do i type graphql????
If you don't want to use Apollo, I suggest using codegen + graphql-request. There is a codegen plugin for graphql-request that auto generates a typesafe client sdk with all your queries as methods on the graphql-request client. Super clean and lightweight. https://github.com/prisma-labs/graphql-request
What are some alternatives?
sveltekit-graphql-fetch - SvelteKit GraphQL queries using fetch only: how you can drop Apollo client and urql dependencies altogether to make your Svelte app leaner.
axios - Promise based HTTP client for the browser and node.js
urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
svelte-preprocess - A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
SWR - React Hooks for Data Fetching
focus-svelte - focus lock for svelte
ky - 🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
trpc-sveltekit - End-to-end typesafe APIs with tRPC.io for your SvelteKit applications.
apollo-client - :rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
SvelteKitAuth - Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization! [Moved to: https://github.com/Dan6erbond/sk-auth]
react-table - 🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table