apollo-augmented-hooks
react-apollo
apollo-augmented-hooks | react-apollo | |
---|---|---|
3 | 8 | |
69 | 6,933 | |
- | - | |
6.1 | 7.9 | |
10 days ago | almost 4 years ago | |
JavaScript | TypeScript | |
- | - |
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.
apollo-augmented-hooks
-
Keeping Apollo Cache up-to-date after mutations
Nice and quite exhaustive article! When I was faced with that decision back then, I went all in with keeping the number of server round trips and their size as low as possible. So much in fact, that I wrote my own wrapper library to support that decision wherever I could and make cache manipulation as painless as possible. The end result is apollo-augmented-hooks. You might also want to check out this guide on caching, which might or might not nudge you a bit closer to the dark side of direct cache manipulation!
-
Complex Apollo cache management with numerous parameterized queries made as painless as possible
I've recently released a package that aims to make cache management in Apollo as painless as possible. You can find it here: https://github.com/appmotion/apollo-augmented-hooks
- Show HN: Apollo Augmented Hooks
react-apollo
-
Sending object's delta instead of whole object, for a subscription?
This apollo issue matches my problem: https://github.com/apollographql/react-apollo/issues/2866
-
5 tips for debugging Apollo GraphQL MockedProvider
We’re heavy users of Apollo GraphQL in my team at Swarmia, but sometimes mocking the queries is bothersome. And based on a few GitHub comments, it looks like we’re not alone. This blog post is here to help!
-
React-Apollo, don't run query on component load
I'm using the awesome https://github.com/apollographql/react-apollo library and I'm trying to see if there is a better convention to load data into components than how I'm doing it now.
-
GraphQL with React Native
Hello guys, I'm working with GraphQL using Apollo Client and facing a big issue but haven't found a fix yet. The problem is with fetchMore callback. This trigger twice, one is the original call, second is the call with new variables. But onComplete only return the response of the original one. When I use nextFetchPolicy: "cache-first" it not trigger the original variables anymore, but the onComplete doesn't return the result of new call. I've looking for a solution on the internet and found this: https://github.com/apollographql/react-apollo/issues/2177 But a few years passed and there aren't any explain or fix. It makes me nervous about choosing apollo client for long-term usage. Can you suggest a client that still has maintainers?
-
GraphQL Code Generator - Introducing Hooks support for React Apollo plugin
React Apollo fits perfectly the requirements, and it now supports Hooks for your GraphQL operations.
-
Complex Apollo cache management with numerous parameterized queries made as painless as possible
I've been using Apollo for a couple of years now, and it is infamously nebulous when it comes to moderately complex real-world scenarios, such as parameterized queries. There are many years-spanning github issues on this problem alone, with barely any maintainable solutions proffered. I've written a lengthy guide that explains exactly how Apollo's InMemoryCache works under the hood and how to sanely solve these caching issues.
- Apolloclient Refetch All Instances Of This Query
What are some alternatives?
apollo-client - :rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
react-relay - Relay is a JavaScript framework for building data-driven React applications.
adrenaline
react-transmit
cerebral-module-http - HTTP module for Cerebral
WhatsApp-Clone-Client-React - https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial
graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
React Figma - ⚛️ A React renderer for Figma
Nock - HTTP server mocking and expectations library for Node.js
redux-react-hook - React Hook for accessing state and dispatch from a Redux store