In this chapter—the last in this book—I show you the different ways that a GraphQL service can be consumed by a React application. I show you how to work directly with HTTP requests, how to integrate GraphQL with a data store, and how to use a dedicated GraphQL client.
Preparing for This Chapter
In this chapter, I continue using the productapp project from Chapter 24 and the GraphQL service it contains. To prepare for this chapter, the changes described in the following sections are required.
Adding Packages to the Project
Later in the chapter, I create components that receive GraphQL data directly, which requires ...