React app with Apollo + GraphQL
Submitted by Souvik Basu (@souvikbasu) on Tuesday, 6 March 2018
Technical level: Beginner Status: Rejected
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.
- What is GraphQL (+ Demo)
- Advantages of using GraphQL instead of REST
- Using GraphQL with redux-saga
- Declarative rendering of component using Apollo client
Knowledge of React components with props and state
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.