posva / vuexfire

Check
https://github.com/vuejs/vuefire
MIT License
558 stars 49 forks source link

Use Vuexfire for Realtime DB and Firestore simultaneously #203

Closed tw00 closed 5 years ago

tw00 commented 5 years ago

There are many use cases where you have a project, that relies on both Firebase Realtime DB and Firestore, since both Databases have their advantages and disadvantages (see official docs).

It would be very nice, if you could use vuexfire in both cases simultaneously in the same project. Currently this is not possible since both packages vuexfire and vuexfire@next are essentially the same npm package. Furthermore the enhacers (firebaseAction, firebaseMutations) and probably also the global mutations prefixed by vuexfire/ use the same name.

Apparently somebody started to work on a "namespaced" version: https://github.com/vuexfirestore/vuexfirestore

Not sure if this is an "official" version. Are there any plans to create an independen package?

posva commented 5 years ago

Duplicate of https://github.com/vuejs/vuefire/issues/188 (code is now shared between vuefire and vuexfire)

posva commented 5 years ago

Apparently somebody started to work on a "namespaced" version: https://github.com/vuexfirestore/vuexfirestore

Does it? I don't see what is new there 🤔

tw00 commented 5 years ago

@posva Ops sorry, didn't see that somebody already created an issue. Thanks for the clarification.

Does it? I don't see what is new there 🤔

Me neither except for an updated README...

posva commented 5 years ago

It's difficult to search in another repository haha

it only adds a function but it doesn't seem to actually have the code for it. Other than that, it's the same readme