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.