Hi, there! I am one of you who was a victim of using an old client of relay on a react native app. This could definitely apply to you if you are using any React Environment. This article covers the steps in detail.

First Step:

Easy peasy! Delete all the relay dependencies from your package.json as you won’t need them.

dependencies: {
“react-relay”: “0.0.0-experimental-895a6fe0”,
“relay-runtime”: “9.1.0”,
devDependencies: {
“relay-compiler”: “9.1.0”,
“relay-compiler-language-typescript”: “12.0.1”,

Second Step:

Remove all the *.graphql.js files, or if you’re using typescript then,*.graphql.ts files from the codebase. I have a small script to do it for…

Here’s an example of a React App which uses Travis CI with a custom build script to deploy itself on gh-pages after every pull request is merged into the project. The build system auto updates the latest changes hosted on whichever URL you have your project hosted on. In this blog, we will see how to automatically deploy the repository on gh pages.

To proceed with auto deploy on gh-pages branch,

  1. We first need to setup Travis for the project.
  2. Register on https://travis-ci.org/ and turn on the Travis for this repository.

Next, we add .travis.yml

Rishi Raj

Master’s Student at NYU | Google Summer of Code 2017 | exGDG and ex-UI @ Kubric.io (http://rishiraj.co)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store