Skip to content

tylerbuchea/react-apollo-with-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published