mobx-firestore
v0.2.0
Published
Firebase bindings in mobx stores
Downloads
5
Readme
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'))