Front-end Framework

Choosing a framework

Absinthe subscriptions use Phoenix channels (by default, at least) which take specialized handling. If you’re going to support subscriptions, it’s probably a good idea to go beyond the JavaScript we’ve been using up to this point and look at more advanced GraphQL clients and framework projects. We’ll cover two of them:

  • Apollo Client
  • Relay

Currently, there are two major client-side JavaScript frameworks that developers use to build user interfaces on top of GraphQL: Relay and the Apollo GraphQL platform.

Get hands-on with 1200+ tech skills courses.