mobx-firelink

Integrate Firebase data into MobX and React with declarative path requests.

Usage no npm install needed!

<script type="module">
  import mobxFirelink from 'https://cdn.skypack.dev/mobx-firelink';
</script>

README

MobX Firelink

Integrate Firebase data into MobX and React with declarative path requests.

Installation

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 "^")

Setup

TODO

Usage

TODO

Alternatives

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:

  1. https://github.com/IjzerenHein/firestorter
  2. https://github.com/giladv/orkan
  3. https://github.com/0x80/firestore-mobx
  4. https://github.com/rakannimer/react-firebase
  5. https://github.com/sampsonjoliver/react-firestore-mobx
  6. https://github.com/thdk/firestorable
  7. https://github.com/mwikstrom/firemob

For Firebase RTD:

  1. https://github.com/rakannimer/mobx-firebase-database
  2. https://github.com/besync/graphstore
  3. https://github.com/rakannimer/mobx-fire
  4. https://github.com/liron00/mframework
Deprecated, repo removed, or very old/unmaintained (2.5+ yrs)

For Firestore:

  1. https://www.npmjs.com/package/mobx-firestore (repo removed)
  2. https://www.npmjs.com/package/mobx-firestore-model (repo removed)

For Firebase RTD:

  1. https://github.com/iamdanthedev/mobase (old)
  2. https://github.com/nyura123/mobx-firebase-store (old)
  3. https://github.com/agonbina/mobx-firebase (old)
  4. https://github.com/nyura123/firebase-nest-mobx-react (deprecated, old)
  5. https://github.com/GeekyAnts/mobx-state-tree-firebase (deprecated)