Comments (6)
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.
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.
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.
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.
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.
@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)
- cannot read resolve of undefined HOT 7
- Feature: Add firestore.getAll() on the web HOT 7
- Question: can we rely on the `signedIn` getter to check if the user is signed in? HOT 3
- Guard 'id' will still add 'id' on update HOT 1
- Reacting to changes in vue-router HOT 1
- Retrieve subcollections together with document HOT 2
- feat(docs): add firestore guide
- RangeError: Maximum call stack size exceeded HOT 6
- ProjectId not provided in firebase.initializeApp despite being provided HOT 3
- Can't get it to work no matter what! HOT 6
- Two-way binding HOT 4
- Getters undefined when working with users collection + sign in onAuthStateChanged [Help]
- fetch only returns id in doc HOT 2
- Update library for firebase v9 HOT 3
- Adding "in" or "array-contains" to the where clause
- setPathVars should be better documented HOT 1
- Doc insertion from multiple apps at he same index
- project build process HOT 1
- E2E test with Cypress
- syncStack / rejects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuex-easy-firestore.