ReactFoo Hyderabad

On React, alternatives to React, ReactNative and front-end engineering

GraphQL & Apollo Workshop

Submitted by Kiran Abburi (@kiranabburi) on Monday, 5 February 2018

videocam_off

Technical level

Intermediate

Section

Workshop

Status

Confirmed

Vote on this proposal

Login to vote

Total votes:  +17

Abstract

React helps us in building declarative components and composing them to build apps. Libraries like redux solved the state management problem, but handling network requests is still tricky. We often need imperative logic to initiate network requests, update server response in local store, handle network errors etc. This could be complex and repetitive. GraphQL and Apollo solves this problem by enabling us to handle network requests in declarative fashion. They allows us to specify the data requirements of components declaratively and apollo takes care of fetching the data and passing it to components. Also, apollo makes it easy to implement complex features like pagination, caching. Apollo can also help us in managing local state without having to use a state management library. Also, GraphQL provides performance benefits by letting us fetch only the data required by clients and batch network requests.

In this workshop, you will learn how to build apps with React, GraphQL and Apollo. Various concepts of GraphQL and Apollo will be covered while building a simple e-commerce app

Outline

  • What is GraphQL
  • GraphQL queries and type system.
  • Building GraphQL schema
  • Building GraphQL Server
  • Apollo setup in react projects
  • Querying data with Apollo
  • GraphQL Mutations with Apollo
  • Local state management with Apollo

Requirements

  • Laptop with nodejs installed
  • Basic knowledge of javascript and reactjs
  • Basic knowledge of REST API’s

Speaker bio

Kiran Abburi is a freelance developer with 6+ years of experience in web development. He primarily works on reactjs, nodejs and GraphQL projects. He is also an organizer of the Reactjs Bangalore meetup group.

Links

Comments

  • 1
    Manjula 10 months ago

    This looks awesome :)

  • 1
    Sai Kishore Komanduri (@saiki) 10 months ago

    Have heard so many people talk about how GraphQL is the next big thing for Web APIs. This workshop already looks awesome as Manjula pointed! It’d be an apt addition, if you can also talk about the advantages it has over REST, and why someone who is perfectly happy at building RESTful APIs should give GraphQL a due consideration! +1

  • 1
    Preeti Wadhwani (@preetiwadhwani) 9 months ago

    This is one of topic I have heard alot of people talking about and I want to learn.
    Would be great to know how it solves the problem related to network requests!
    excited for this one!

  • 1
    Zainab Bawa (@zainabbawa) Reviewer 9 months ago

    Thanks for submitting this proposal, Kiran. I will loop in my colleagues from the workshop team to work with you on this proposal.

Login with Twitter or Google to leave a comment