Go Pro Sign Up Login

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




per month

The Query Component

In this series we dive into working with GraphQL APIs with React & Apollo. Learn all about how Apollo Client works, best practices and managing local state.

Buy Level 1 Apollo Client with React: https://www.leveluptutorials.com/store/products/tutorials/lut-dd025

Become a Pro: https://www.leveluptutorials.com/pro

Please use these links when signing up for services to help support Level Up.

Easy Hosting with Netlify: https://goo.gl/pychVP

Shared Web Hosting: https://goo.gl/pfC6uc

Syntax Podcast ft Scott Tolinski & Wes Bos: https://goo.gl/7jDDxX

Subscribe to the Level Up Newsletter http://eepurl.com/AWjGz

Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.

Bind data to your UI with the ultra-flexible, community-driven GraphQL client for React, JavaScript, and native platforms.

Advanced data loading Queries, caching, mutations, optimistic UI, subscriptions, pagination, server-side rendering, prefetching, and more.

Built for modern React apps Compatible out of the box with Redux, React Router, Recompose, Expo, Next.js, and everything else in the React ecosystem.

Production-ready Used today in critical production apps by KLM, The New York Times, OpenTable, Ticketmaster, Coursera, Khan Academy, and others.

Community-focused Over 700 contributors and counting. Built by the community, for the community.

Tooling and server friendly Apollo Chrome devtools, static query analysis, code generation, and autocompletion.

Incrementally adoptable The only GraphQL client that works with any client-side architecture and every GraphQL server. It adapts to fit your needs.


Become a pro to download code and videos


User avatar


almost 2 years ago [edited]

Yeah this bit seems to have changed quite a bit, I've got it working by looking at the "ExchangeRates" bit at the bottom here: https://www.apollographql.com/docs/react/get-started/

It's quite a bit cleaner now, you keep the logic outside of the return.

Course needs to be updated

over 2 years ago

Please update your course, as for a beginner it's difficult to learn the course with outdated content.

Want to join the conversation?

Become a Pro member today!