Client-side: install the Apollo client and the GraphQL dependencies
We need to install some new libraries:
At this point, you shall already know how to use the NPM correctly :-)
NOTE: The same npm versions as mentioned above are important. You can click on each package name in order to learn more about them.
IMPORTANT: The code below was implemented based on previous tutorial.
Here is a last commit from previous tutorial Guide for the react-native and reactJS developers.
You should clone repository:
and continue from ready checkpoint:
git clone https://github.com/ReactPoland/reactjs-redux-tutorial.git
Of course you can use your starter/project if you want. It's only a suggest which helps you to better understand the idea and solution and make less conflicts between your own code and code, which implemented below.
git checkout graphql-start