Giter VIP home page Giter VIP logo

Comments (6)

BenAHammond avatar BenAHammond commented on June 15, 2024

I've played with VuexFire but never built anything in production with it and not since it started supporting Firestore.

I'll say that I very much prefer the way vuex-easy-firestore ships with a clean mutation API OOB without needing to manually write it all. It saves me a lot of time while still keeping my code clean.

I do think this tool could use some improvements to the sync functionality/API. If I have a large collection of data that is all "syncable" I would like a better way to specify what it pulled and when.

from vuex-easy-firestore.

mesqueeb avatar mesqueeb commented on June 15, 2024

Hi @BenAHammond Thanks for the feedback.

Firestore makes it really easy to fetch docs with just firebase.firestore().doc(path).get().
Is there something you can think of that I could implement in vuex-easy-firestore that could make it even easier for you? I try to think about it, but I never had an app that required several different paths that needed to be pulled at different times.

Please give me some more information or what kind of improvement you can think of! : D

from vuex-easy-firestore.

BenAHammond avatar BenAHammond commented on June 15, 2024

Personally I'd love to see a Paging API for the sync portion of the Collection API.

Specifically it would be nice to have the user's session automatically track the current paging details somehow for reuse on reload without having to program that all in manually.

Maybe as a plugin if not core functionality?

from vuex-easy-firestore.

mesqueeb avatar mesqueeb commented on June 15, 2024

Yeah, thatโ€™s actually a great idea. The closest functionality like that now is the ability to call fetchAndAdd multiple times which works just like paging and will fetch the next part each time.

I should expand this functionality into the openDBChannel function as well and add a getter that keeps track of which pages had which docs.

Sent with GitHawk

from vuex-easy-firestore.

louisameline avatar louisameline commented on June 15, 2024

Pros: made by people from the Vuex team, inspires trust.
Cons: 1-way sync only (can't work offline), and lets you do all the calls to Firestore yourself, yuk.
Conclusion: will be deprecated in a few months ;)

from vuex-easy-firestore.

mesqueeb avatar mesqueeb commented on June 15, 2024

@louisameline what I mainly felt about about Vuex Fire is that it isn't made with love... :D
I felt no love at all.
I put a looot of love into vuex-easy-firestore. ๐Ÿ’œ

from vuex-easy-firestore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.