Comments (5)
Hey,
Sorry, I was meaning to create a PR a couple of days ago but life got in the way.
The changes are looking good! Can confirm that it adds all documents in one transaction. Thanks!
from react-firebase.
Hey,
I am still experiencing this behavior when I have a where clause in my statement
I'm using v0.5.4
<FirestoreCollection path="/users" where={{ field: 'userId', operator: '==', value: id }}>
{data => {
console.log(data)
}}
</FirestoreCollection>
from react-firebase.
Hey @brumm,
Thanks for reporting this and investigating it 👍
I think you're right it should do it in one transaction instead of one for each document.
If you have time, a PR would be very much appreciated !
Otherwise, I will look at this as soon as I have the time to.
Cheers !
from react-firebase.
Can you try 0.4.0 and let me know if it's acting as you expect ?
Cheers :)
from react-firebase.
Hey,
I am still experiencing this behavior when I have a where clause in my statement
I'm using v0.5.4<FirestoreCollection path="/users" where={{ field: 'userId', operator: '==', value: id }}> {data => { console.log(data) }} </FirestoreCollection>
same issue here, this is spamming so much that the event loop is getting blocked up and my 500ms time outs are taking 5-10 seconds.
from react-firebase.
Related Issues (20)
- Add Support for Storage HOT 1
- FirebaseDatabaseNode should use its callback when the data at its path gets deleted HOT 1
- No way to update a document within a collection
- Usage of GPLv3 License
- Allow npm and yarn support for testing.
- Not obvious what databaseURL in config should be HOT 5
- Missing information from quickstart
- Allow multiple where clauses.
- npm package shouldn't include demo files HOT 1
- Is this project maintained? HOT 1
- How do I enable persistance in firestore
- Potential Security Issue HOT 1
- Compatibility with firebase version 9 (modular)
- Docs link is down
- Demo link moves weather extension
- Domain for documentation is fake or expired HOT 1
- FirestoreCollection mutliple queries with AND
- How to know if data is loading to display loading screen rather than login page? HOT 5
- `IfFirebaseUnAuthed` causes React: Unknown Prop Warning HOT 1
- Firebase Google Login 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 react-firebase.