Choosing a Framework

Absinthe subscriptions, as you’ve read about in Chapter 6, ​Going Live with Subscriptions​, use Phoenix channels (by default, at least), and that takes some specialized handling. If you’re going to support subscriptions, it’s probably a good idea to go beyond the vanilla JavaScript that we’ve been using up to this point and look at more advanced GraphQL clients and framework projects that can make your life easier.

We’ll cover two of them: Apollo Client and Relay.

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.