Comments (3)
My main concern is that this snippet is highlighted in the documentation as the source for the Distributed Counters pattern. But these tests do not show how to use the pattern. So we are left to figure things out on our own?
I'm currently struggling with this: https://github.com/gregfenton/example-firestore-distributed-counter
from snippets-web.
@gregfenton totally fair! I'm actually no longer on the Firebase team so cc @morganchen12 and @abeisgoat who may want to take a look here.
from snippets-web.
@gregfenton most of the tests here are only to ensure that the code is syntactically valid and doesn't throw immediate exceptions. We don't test that they produce the intended backend result, although if you want to submit a PR to improve any of the tests to be more meaningful we'd be happy to review!
from snippets-web.
Related Issues (20)
- Now code on mobile with Dcoder
- Email verification not sent to edu account
- missing keyword `await` for the set_with_merge.js file HOT 1
- Error in v-on handler (Promise/async): "TypeError: doc is not a function" HOT 2
- import module name incorrect for firebase/database HOT 2
- Oudated link for user object properties HOT 1
- Unhandled Runtime Error TypeError: Cannot read properties of null (reading 'displayName') in next js HOT 3
- Recaptcha Verifier throws an error
- A HOT 1
- is that supposed to be test suites without expect or assert ?
- Www.contoso.com
- Missing auth_set_persistence_local.js ❓ HOT 1
- er HOT 1
- Unable to link a Custom Token SignIn with an Anonymous User
- One account should be deleted before linking two existing ones
- Update Password : getASecureRandomPassword is not defined
- Incorrect syntax, Not working properly. wrong way to console HOT 1
- It should be deleteDoc, not updateDoc HOT 1
- get_custom_object and other tests/snippets should not rely on `toString` to verify custom object types
- Phone Number Submission Error on Expo
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 snippets-web.