Chapter 4: Hooking Apollo into React
Sequelize makes it easy to access and query our database. Posts, chats, and messages can be saved to our database in a snap. React helps us to view and update our data by building a user interface (UI).
In this chapter, we will introduce Apollo's React client to our frontend to connect it with the backend. We will query, create, and update post data using our frontend.
This chapter will cover the following topics:
- Installing and configuring Apollo Client
- Sending requests with GQL and Apollo's Query component
- Mutating data with Apollo Client
- Implementing chats and messages
- Pagination in React and GraphQL
- Debugging with the Apollo Client Devtools
Technical requirements
The source code for this chapter is ...
Get Full-Stack Web Development with GraphQL and React - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.