(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import React, {Component, Fragment} from 'react'; | |
| import {Query, Mutation, Subscription} from 'react-apollo'; | |
| import gql from 'graphql-tag'; | |
| import PropTypes from 'prop-types'; | |
| import ApolloClient from 'apollo-client'; | |
| import {SubscriptionClient} from 'subscriptions-transport-ws'; | |
| const GRAPHQL_ENDPOINT = 'ws://localhost:4000/subscriptions'; | |
| export default class Books extends Component { | 
node. Recommended version 4.6 or greater.Download the following repositories and run yarn install in each: