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