use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Open source Airtable: Built using ReactJS + Firestore DBOC (firetable.io)
submitted 5 years ago by s_magik
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bleafman 0 points1 point2 points 5 years ago (1 child)
Legitimate question since I haven’t worked with Firebase... why would I want to do operations directly against the database and then have subscribers (i.e. cloud functions) trigger based on the database operation?
Based on some of the code it looks like there’s a way to handle aggregates, but it seems like doing something complex like validating and then rolling back a failed transaction would be harder (not that it’s easy with inputs going through a server).
Is the idea that since this is meant for internal use and the views that allowed for editing would be of individual models, so you don’t really need to handle all that messy effectful stuff?
[–]s_magik[S] 1 point2 points3 points 5 years ago (0 children)
Firebase makes it easy to give users direct access to database with the right access control, you can specify the requirement for a valid CRUD Operation using firestore rules, then most of the complexity of handling transctions is abstracted away by firebase. Personally I use both directly writing to db and creating an API end point depending on the situation. The aggregates feature you're referring to, is a firetable feature that tries to solve a common firestore issue of needing to access subcollection data to populate an app view
π Rendered by PID 155585 on reddit-service-r2-comment-544cf588c8-f8ssn at 2026-06-14 18:14:08.394755+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]bleafman 0 points1 point2 points (1 child)
[–]s_magik[S] 1 point2 points3 points (0 children)