A Relay inspired library for building React.js + Firebase applications

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.

Re-base is a tool in the Javascript UI Libraries category of a tech stack.

Re-base is an open source tool with 2.12K Github Stars and 161 Github Forks. Here’s a link to Re-base's open source repository on Github

Who Uses Re-base?

Re-base integrates with

Why people like Re-base

Here’s a list of reasons why companies and developers use Re-base.

Add a one-liner

Re-base's Features

  • 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.
  • fetch: Retrieve data from Firebase without setting up any binding or listeners.
  • post: Add new data to Firebase.
  • removeBinding: Remove all of the Firebase listeners when your component unmounts.
  • reset: Removes all of the Firebase listeners and resets the singleton (for testing purposes).

Re-base's alternatives

  • React - A JavaScript library for building user interfaces
  • jQuery - The Write Less, Do More, JavaScript Library.
  • AngularJS - Superheroic JavaScript MVW Framework
  • Vue.js - Reactive Components for Modern Web Interfaces
  • jQuery UI - Curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library

See all alternatives to Re-base