ReactFoo Bangalore annual conference

India's largest React conference

React app with Apollo + GraphQL

Submitted by Souvik Basu (@souvikbasu) on Tuesday, 6 March 2018

videocam_off

Technical level

Beginner

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +3

Abstract

GraphQL is a preferred alternative to REST for API endpoints because of the flexibility it provides in building the contract between UI and services. Apollo client provides a declarative way to query GraphQL endpoint. We will explore how to use Apollo client in React components to get data from remote API endpoint and render component declaratively.

Outline

  • What is GraphQL (+ Demo)
  • Advantages of using GraphQL instead of REST
  • Using GraphQL with redux-saga
  • Declarative rendering of component using Apollo client

Requirements

Knowledge of React components with props and state

Speaker bio

Souvik is a JS enthusiasts with 15 years experience in the industry. His day job is to set up a team on React project in Tesco Bengaluru. He loves to code equally well in React as well as in Angular. Currently he is spending a lot of time exploring Conversational UI.

Comments

Login with Twitter or Google to leave a comment