May 2019
Intermediate to advanced
496 pages
10h 38m
English
There are three parts to Relay that we'll need to install. Type the following at the command line:
npm install --save react-relaynpm install --save-dev babel-plugin-relay relay-compiler
You'll also need to update your .babelrc file to include the Babel plugin:
{ "presets": ["@babel/env", "@babel/react"], "plugins": ["@babel/transform-runtime", "relay"]}
Once you've done that, you're good to ...
Read now
Unlock full access