No description, website, or topics provided.
Branch: master
Clone or download
Latest commit c33120f Feb 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public 👶 Initial commit Feb 2, 2019
src Clean up code Feb 5, 2019
.gitignore 👶 Initial commit Feb 2, 2019
README.md
package.json
yarn.lock 👶 Initial commit Feb 2, 2019

README.md

Use React Apollo with Hooks - React Apollo vs React Apollo Hooks

Check out the blog post for more info

This repo shows two components being used side-by-side in ./src/index.js.

One of the components NewWay uses React hooks and Suspense to retrieve data from a GraphQL API.

The other component OldWay uses render props to accomplish the same task.

The goal of this repo is to be a simple side-by-side comparison of the two approaches.