Relay Framework logo

Relay Framework

A JavaScript Framework for Building Data-Driven React Applications, by Facebook
133
131
+ 1
1

What is Relay Framework?

Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
Relay Framework is a tool in the Javascript UI Libraries category of a tech stack.
Relay Framework is an open source tool with 14.7K GitHub stars and 1.5K GitHub forks. Here’s a link to Relay Framework's open source repository on GitHub

Who uses Relay Framework?

Companies
50 companies reportedly use Relay Framework in their tech stacks, including Facebook, inato-app, and Mathspace.

Developers
72 developers on StackShare have stated that they use Relay Framework.

Relay Framework Integrations

Prisma Cloud, Graphene, PostGraphile, graphql-yoga, and Reindex are some of the popular tools that integrate with Relay Framework. Here's a list of all 6 tools that integrate with Relay Framework.
Pros of Relay Framework
Private Decisions at about Relay Framework

Here are some stack decisions, common use cases and reviews by members of with Relay Framework in their tech stack.

Zach Holman
Zach Holman
Founder at Signed · | 7 upvotes · 10.4K views

Apollo is my favorite open source project.

Two things you need to worry about when making a statement like that: is the tool good, and how is the tool being built?

From a tool perspective... yeah, Apollo is great. I'm convinced that GraphQL is the way forward for me, and Apollo's just a great way to tackle it. Even beyond that, it just offers a good mentality to how you should build your database-backed app. I've used Relay in the past, back before they made a bunch of changes with Relay Modern (which all seem positive!), but switching to Apollo is just night-and-day. They've been doing better in the last 12 months or so at making smart abstractions in the React Apollo library, to the point where I'd just get these monster all-red pull requests where I can delete all my cruddy code and replace it with far fewer lines of their great abstractions.

But from a build perspective... Apollo fares even better, I think. By this, I mean their project inertia, their progress, their ability to ship stable code — but still ship meaningful new functionality, too. They're not afraid to move their ideas in other directions (integrating with React Native, for example). Kills me to see projects that are just heads-down on their little world as the world passes them by, and so far... yeah, Apollo's been on top of it.

Anyway, big fan. It's really changed how I write frontend code, and I feel hella confident while working with it.

See more
Public Decisions about Relay Framework

Here are some stack decisions, common use cases and reviews by companies and developers who chose Relay Framework in their tech stack.

Zach Holman
Zach Holman
Founder at Signed · | 7 upvotes · 10.4K views

Apollo is my favorite open source project.

Two things you need to worry about when making a statement like that: is the tool good, and how is the tool being built?

From a tool perspective... yeah, Apollo is great. I'm convinced that GraphQL is the way forward for me, and Apollo's just a great way to tackle it. Even beyond that, it just offers a good mentality to how you should build your database-backed app. I've used Relay in the past, back before they made a bunch of changes with Relay Modern (which all seem positive!), but switching to Apollo is just night-and-day. They've been doing better in the last 12 months or so at making smart abstractions in the React Apollo library, to the point where I'd just get these monster all-red pull requests where I can delete all my cruddy code and replace it with far fewer lines of their great abstractions.

But from a build perspective... Apollo fares even better, I think. By this, I mean their project inertia, their progress, their ability to ship stable code — but still ship meaningful new functionality, too. They're not afraid to move their ideas in other directions (integrating with React Native, for example). Kills me to see projects that are just heads-down on their little world as the world passes them by, and so far... yeah, Apollo's been on top of it.

Anyway, big fan. It's really changed how I write frontend code, and I feel hella confident while working with it.

See more
Eli Perkins
Eli Perkins
Senior Mobile Engineer at GitHub · | 6 upvotes · 9.4K views

We use Relay because it's ability to generate Flow (JS) types based on given GraphQL fragments gives an immense amount of type safety. The relay-compiler helps us verify queries are valid before we build the app. Relay's ability to colocate queries with components, and compose many fragments, makes it easy to build a new component and get the data the component needs.

See more
Jordan Husney
Jordan Husney
CEO at Parabol · | 1 upvotes · 5.1K views
Shared insights
on
Relay FrameworkRelay Framework
at

Before relay-modern, we wrote our own subscriptions-capable GraphQL client + cache called Cashay. We switched to relay-modern when its functionality and community surpassed our own Relay

See more

Relay Framework's Features

  • Build data driven apps
  • Declarative style
  • Mutate data on the client and server

Relay Framework Alternatives & Comparisons

What are some alternatives to Relay Framework?
Fuse
It is a set of user experience development tools that unify design, prototyping and implementation of high quality, native apps for iOS and Android.
Switch
Ring your mobile phone, computer, and desk phone at the same time. Answer calls and switch seamlessly between devices. Use your personal device with a business phone number so you're always reachable.
Apollo
Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
See all alternatives

Relay Framework's Followers
131 developers follow Relay Framework to keep up with related blogs and decisions.
Galileo Figaro
FelixIsaac
Christopher O'Leary
fdarma
tslwn
Naomi Campbell
MasterMatviei
raul lopez peredo
Eduardo Queiroz
Antoine Azor