react-dom-obj-firebase

0.2.1 • Public • Published

React DOM Object

Uses react-dom-obj to create a real-time DOM synced with Firebase

Usage

npm install react-dom-obj-firebase --save
import RedomoFB from 'react-dom-obj-firebase';

RedomoFB.init({
  apiKey: <FIREBASE_API_KEY>,
  authDomain: <FIREBASE_AUTH_DOMAIN>,
  databaseURL: <FIREBASE_DATABASE_URL>
});

RedomoFB.start('firebase-path');

// Call RedomoFB.stop('firebase-path'); to stop real-time updates from Firebase

Readme

Keywords

Package Sidebar

Install

npm i react-dom-obj-firebase

Weekly Downloads

2

Version

0.2.1

License

MIT

Last publish

Collaborators

  • dmurawsky