Integrate Firebase data into MobX and React with declarative path requests.
npm install mobx-firelink --save-exact
The --save-exact
flag is recommended (to disable version-extending), since this package uses Explicit Versioning (Release.Breaking.FeatureOrFix
) rather than SemVer (Breaking.Feature.Fix
).
For FeatureOrFix
version-extending (recommended for libraries), prepend "~
" in package.json
. (for Breaking
, prepend "^
")
TODO
TODO
If this library's approach doesn't match your preferences, the below is a list of alternative libraries for binding firebase data to MobX observables. They are ordered by how complete, well-designed, and well-maintained I personally view each to be; however, I only took a brief look at most of them, so the ordering (other than the top few) is approximate and pretty subjective.
For Firestore:
- https://github.com/IjzerenHein/firestorter
- https://github.com/giladv/orkan
- https://github.com/0x80/firestore-mobx
- https://github.com/rakannimer/react-firebase
- https://github.com/sampsonjoliver/react-firestore-mobx
- https://github.com/thdk/firestorable
- https://github.com/mwikstrom/firemob
For Firebase RTD:
- https://github.com/rakannimer/mobx-firebase-database
- https://github.com/besync/graphstore
- https://github.com/rakannimer/mobx-fire
- https://github.com/liron00/mframework
Deprecated, repo removed, or very old/unmaintained (2.5+ yrs)
For Firestore:
- https://www.npmjs.com/package/mobx-firestore (repo removed)
- https://www.npmjs.com/package/mobx-firestore-model (repo removed)
For Firebase RTD: