Chapter 11Integrating with the Frontend

Welcome to the client-side framework chapter, where you’ll learn how to connect JavaScript-based web applications to a GraphQL API—including how to take advantage of Absinthe-specific features like Phoenix channel-based subscriptions using the plug-and-play packages that are already available.

Through this chapter, we’re going to gradually step up the complexity of the front-end applications we’re integrating. We’ll start with a basic, single-file JavaScript application, then move on to the two most popular approaches to using GraphQL from JavaScript today: Relay (the original GraphQL framework) and Apollo Client.

The JavaScript ecosystem is full of choices, and we know that the choices that ...

Get Craft GraphQL APIs in Elixir with Absinthe 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.