December 2019
Intermediate to advanced
474 pages
10h 3m
English
The react-apollo package, which you've already used for Apollo in a React web application, can also be used for Apollo in a React Native mobile application. This fits perfectly with the tagline of React and React Native: learn once, write everywhere. But before we add Apollo to the application, it's important to know that when you run your application using the Expo application on your mobile, localhost requests aren't supported. The local GraphQL server for this project is running on http://localhost:4000/graphql, but to be able to use this endpoint in the React Native application, you need to find the local IP address of your machine.
To find your local IP address, you'll need to do the following depending ...
Read now
Unlock full access