【发布时间】:2022-11-20 20:34:08
【问题描述】:
I am new to Apollo and Graph QL. I have my auth and DB setup with AWS Amplify for a React Native Typescript app.
I want to use Apollo instead of Redux as I have read that is easier and better than Redux obviously this is a personal preference. I want to link my AWS to the Apollo Client.
Can you help me with what URI: to link here so it will get the logged in user information? To store it locally.
const client = new ApolloClient({
uri: 'https://api.graph.cool/simple/v1/cixmkt2ul01o01902vlq3jvrj',
cache: new InMemoryCache()
})
【问题讨论】:
标签: aws-amplify apollo-client react-typescript