Using it with the Appsync client
See original GitHub issueHi, I guess it’s just not possible right now, but just to confirm I didn’t do anything wrong:
import { ApolloProvider } from "react-apollo-hooks";
import { Rehydrated } from "aws-appsync-react";
import appsyncClient from "./appsyncClient";
<ApolloProvider client={appsyncClient}>
<Rehydrated>
<App />
</Rehydrated>
</ApolloProvider>
throws the following error:
Unhandled Rejection (TypeError): Cannot read property ‘hydrated’ of undefined
If I use the ApolloProvider from react-apollo, it works fine. I don’t know how difficult it would be to add support for it.
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:16
Top Results From Across the Web
Building a client application - AWS AppSync
To start using AWS AppSync in your JavaScript or Flow application, first add your GraphQL schema to your project. ... You need to...
Read more >Using AppSync Client from Lambda - Edward Beazer Blog
Access your Amplify generated AppSync GraphlQL API from a lambda.
Read more >appsync-client - npm
A lightweight Appsync client that signs requests for you - designed to be run server-side (e.g. on Lambdas).. Latest version: 2.15.0, ...
Read more >Build AWS AppSync API and API Client using Python - YouTube
The workshop URL - https://aws-dojo.com/workshoplists/workshoplist20AWS AppSync is used to create GraphQL APIs. The APIs can securely access ...
Read more >GraphQL APIs with AppSync, Amplify and Angular - YouTube
AWS AppSync automatically updates the data in web and mobile applications in real time, and updates data for offline users as soon as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m facing the same issue after upgrading to react-apollo 3.0.1
Can we reopen this issue? @cuttlas wrapping the providers does not seem to fix the issue!