Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Re-base
Re-base

3
8
+ 1
0
Relay
Relay

111
102
+ 1
1
Add tool

Re-base vs Relay: What are the differences?

Developers describe Re-base as "A Relay inspired library for building React.js + Firebase applications". React.js makes managing state easy to reason about. Firebase makes persisting your data easy to implement. re-base, inspired by Relay, combines the benefits of React and Firebase by allowing each component to specify its own data dependency. Forget about your data persistence and focus on what really matters, your application's state. On the other hand, Relay is detailed as "A JavaScript Framework for Building Data-Driven React Applications, by Facebook". 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.

Re-base and Relay belong to "Javascript UI Libraries" category of the tech stack.

Some of the features offered by Re-base are:

  • syncState: Two way data binding between any property on your component's state and any endpoint in Firebase. Use the same API you're used to to update your component's state (setState), and Firebase will also update.
  • bindToState: One way data binding. Whenever your Firebase endpoint changes, the property on your state will update as well.
  • listenTo: Whenever your Firebase endpoint changes, it will invoke a callback passing it the new data from Firebase.

On the other hand, Relay provides the following key features:

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

Re-base and Relay are both open source tools. It seems that Relay with 13.1K GitHub stars and 1.29K forks on GitHub has more adoption than Re-base with 2.13K GitHub stars and 162 GitHub forks.

What is Re-base?

React.js makes managing state easy to reason about. Firebase makes persisting your data easy to implement. re-base, inspired by Relay, combines the benefits of React and Firebase by allowing each component to specify its own data dependency. Forget about your data persistence and focus on what really matters, your application's state.

What is Relay?

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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Re-base?
Why do developers choose Relay?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use Re-base?
        What companies use Relay?

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with Re-base?
        What tools integrate with Relay?

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to Re-base and Relay?
        jQuery
        jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
        jQuery UI
        Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.
        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.
        AngularJS
        AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
        Vue.js
        It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
        See all alternatives
        Decisions about Re-base and Relay
        No stack decisions found
        Interest over time
        Reviews of Re-base and Relay
        No reviews found
        How developers use Re-base and Relay
        Avatar of Parabol, Inc.
        Parabol, Inc. uses RelayRelay

        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

        Avatar of Cirrus Labs
        Cirrus Labs uses RelayRelay

        Relay is used to minimize client-side logic on https://cirrus-ci.com/

        How much does Re-base cost?
        How much does Relay cost?
        Pricing unavailable
        Pricing unavailable
        News about Re-base
        More news
        News about Relay
        More news