Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 377 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 377 Bytes

mobx-firestore

Easily attach Firebase reference bindings to mobx stores.

See API.md for documentation.

Install

npm install --save mobx-firestore

Usage

import { FirebaseStore } from 'mobx-firestore'

const ref = firebase.database().ref()
const store = new FirebaseStore(ref)

store.bindValue('profile', ref.child('profile'))