Skip to content

agonbina/mobx-firestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'))

About

Firebase bindings in mobx stores

Resources

License

Stars

Watchers

Forks

Packages

No packages published