<@U7DJ9B26B> //I think the error occurs when tryin...
# prisma-whats-new
w
@Ben //I think the error occurs when trying to initialize the Apollo Client const client = new ApolloClient({ networkInterface: createNetworkInterface({ uri: 'https://api.graph.cool/simple/v1/ciwce5xw82kh7017179gwzn7q', }), })
b
which version of apollo client are you installing? v2 has a slightly different API, so that tutorial might be out of date
w
Apollo-client version 2.2.0
Unfortunately I can't seem to find any other tutorials on apollo + react-native integration. Most of them are using react.
b
I'm pretty sure it will be exactly the same - try initiating the Apollo Client like this: https://github.com/apollographql/apollo-client#usage
w
Thanks. Let me try it.
I've tried my best to follow the link you gave me, but it didn't work. Still getting errors
Unfortunately there's no documentary or tutorial to solve this.
Or rather, I can't seem to find one.