Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src 📦 NEW: Add React & Apollo Client example Jan 29, 2019

Using React & Apollo

Example that demonstrates how to build a React & Apollo Client app that requests data from a site running WPGraphQL.

A blog post that details how to build this app from scratch is available here:

Quick Start

  1. Clone down the examples repo.
  2. cd into the using-react-apollo directory.
  3. Run npm install to install dependencies.
  4. Run npm start to start the app locally.
  • You can hit ctrl+c at any time to stop the app.
  • You can update the uri in /src/index.js to control which WordPress site the app pulls its data from.