react-relay VS Hasura

Compare react-relay vs Hasura and see what are their differences.

react-relay

Relay is a JavaScript framework for building data-driven React applications. (by facebook)

Hasura

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events. (by hasura)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
react-relay Hasura
50 227
18,180 30,799
0.3% 0.3%
9.7 9.8
2 days ago 5 days ago
Rust TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-relay

Posts with mentions or reviews of react-relay. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-30.
  • How To Handle Data With GraphQL Relay Client Schema Extensions
    1 project | dev.to | 16 Jan 2024
    GraphQL Relay is one of the most powerful GraphQL clients that you can found on the web environment. It provides to you a lot of features that lets your development flow in a scalable way.
  • GraphQL clients that automatically combine queries/fragments
    1 project | /r/graphql | 7 Dec 2023
    GQty (https://gqty.dev/) and Relay (https://relay.dev/) will combine fragments or queries you request in your React components and will handle combining these / getting the data each component needs with as few queries as is possible. Are there any other clients I’ve missed? It’s not immediately clear to me whether this is possible with Urql via Exchanges (https://formidable.com/open-source/urql/docs/advanced/authoring-exchanges/).
  • Server-side Rendering (SSR) From Scratch with React
    5 projects | dev.to | 30 Aug 2023
    Inside Woovi, our entire codebase is managed by GraphQL using the Relay client framework. To ensure the best UX possible for our final user, we give some useful features in our payment link, like the real-time update after paying a charge. It's all handled by our GraphQL, which won't be solvable by templates in our use case.
  • Seeking advice: Should I continue my Web Developer job or pursue my passion for compilers?
    2 projects | /r/ExperiencedDevs | 17 Apr 2023
    Since you mentioned Node CRUD APIs, I'd probably suggest looking at Relay/GraphQL. Would give you exposure to some interesting and employable skills that wouldn't require you learning an entirely new domain on top of it. They are rewriting the current compiler in Rust, which since you mentioned Rust might be interesting to follow. Uneducated takes, but GraphQL is a schema IDL, so would probably be a good place to start to minimize lexical complexity while still having some cool abstract concepts to learn (interfaces, unions, etc).
  • Compressing GraphQL Global Node ID
    2 projects | dev.to | 10 Apr 2023
    You may be familiar with Global Object Identification(GOI), especially if you've used Relay.
  • Top React Data Fetching Libraries
    7 projects | dev.to | 31 Mar 2023
    Relay (17k ⭐) -> The production-ready GraphQL client for React, developed by Facebook, was designed to be performant from the ground up, built upon locally declaring data dependencies for components.
  • Twitter open sources Navi: High-Performance Machine Learning Serving Server in Rust
    5 projects | /r/rust | 31 Mar 2023
    I think open sourcing for free labor is a common misconception. Most corporate led open source projects (eg, https://github.com/bottlerocket-os/bottlerocket from AWS or https://github.com/facebook/relay from Facebook) still require a team of employees.
  • How Woovi uses Relay?
    3 projects | dev.to | 13 Mar 2023
    If you look at relay.dev, Relay is the GraphQL client that scales with you. This definition is simple and defines Relay pretty well for the ones that already know all the features that Relay brings to the table.
  • Relay – The GraphQL client that scales with you
    1 project | news.ycombinator.com | 2 Feb 2023
  • Is it possible to create a symbolic link to a folder to solve case sensitivity?
    5 projects | /r/linuxquestions | 1 Dec 2022
    https://github.com/psf/black/issues/338 https://github.com/VeriorPies/ParrelSync/issues/61 https://github.com/prusa3d/PrusaSlicer/issues/5751 https://github.com/iterative/dvc/issues/2530 https://github.com/facebook/relay/issues/3647 And I know godmode9 at one point absolutely freaked when navigating into a symlink. It kinda depends on the app and what it's trying to load

Hasura

Posts with mentions or reviews of Hasura. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
    8 projects | news.ycombinator.com | 17 Apr 2024
    [4] https://github.com/hasura/graphql-engine/blob/master/architecture/live-queries.md
  • The Many Ways Not to Build an API
    4 projects | dev.to | 1 Apr 2024
    Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
  • Ask HN: Is There a Zapier for APIs?
    3 projects | news.ycombinator.com | 19 Feb 2024
    Hi! If you’ve ever thought about something like using GraphQL for something like this.. You might like Hasura. (Obligatory I work for Hasura)

    We’ve got an OpenAPI import and you can setup cron-jobs or one-off jobs and do things like load in headers from the environment variables to pass through. There isn’t currently an easy journey for chaining multiple calls together without writing any code at all, but you can wrap pretty much any API endpoint via OpenAPI import or a custom action, and you can even make minor edits to things like the API contract format to change aliases/naming.

    Our goal is to join all the things, databases and API’s. Most people know us for instant GraphQL API’s that give you CRUD on your database, but we also wrap APIs.

    Not sure if something like this would fit your use-case and do check out some of the other things mentioned, but depending what you are trying to do I think Hasura might potentially work.

    You can find out more here: https://hasura.io

  • Ask HN: What is the easiest way to create a CRUD web app in 2024?
    2 projects | news.ycombinator.com | 16 Feb 2024
  • 2024 Web Development Wish List
    7 projects | dev.to | 10 Jan 2024
    Nested Mutation - 113 thumbs up, and still open since 2019... another case of not listening to the users?
  • Hasura V3 Engine is in alpha
    1 project | news.ycombinator.com | 20 Dec 2023
  • Hasura: Instant GraphQL on your Postgres data
    1 project | news.ycombinator.com | 14 Dec 2023
  • Hasura and Keycloak integration with NestJS server
    5 projects | dev.to | 7 Dec 2023
    Hasura is an open-source real-time GraphQL API server with a strong authorization layer on your database. You can subscribe to database events via webhooks. It can combine multiple API servers into one unified graphQL API. Hasura is a great tool to build any CRUD GraphQL API. Hasura does not have any authentication mechanisms; e.g., you need an auth server to handle sign-up and sign-in.
  • 🤩 20 Awesome Tools For Your Web Dev Toolkit 🛠️
    7 projects | dev.to | 24 Nov 2023
    7. Hasura

What are some alternatives?

When comparing react-relay and Hasura you can also consider the following projects:

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

supabase - The open source Firebase alternative.

apollo-client - :rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.

postgrest - REST API for any Postgres database

SWR - React Hooks for Data Fetching

Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.

axios - Promise based HTTP client for the browser and node.js

crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!

urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

dataloader - DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.

Neo4j - Graphs for Everyone