Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why is firebase in Groceries.js?

See original GitHub issue

This is an awesome boilerplate, thanks for sharing it! I am confused why the firebase code is in Groceries.js and not separated into an action creator? I am also curious if there is a reason you did not include a child_changed listener?

I am just digging in, so the answer might become obvious soon

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

bruzcommented, Dec 8, 2016
milesibastoscommented, Dec 8, 2016

I think u forgot the file referred by: import { syncFirebase } from '../firebase'

Read more comments on GitHub >

github_iconTop Results From Across the Web

React JS Grocery List Firebase DB - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
Read more >
Learn more about Web and Firebase - Google
The Firebase JavaScript SDK allows you to initialize and use multiple Firebase projects in a single app at the same time, with each...
Read more >
ShoppingBuddy - Devpost
Lastly, as it was our first time using Firebase, we learned how to incorporate this backend feature for authentication and storing grocery items...
Read more >
JS: Error in firebase.init: Error: java.lang.IllegalStateException ...
Hi! When I created a project on Firebase, I simply set the project name to be "test" and added it to my Android...
Read more >
Cloud Functions for Firebase organization - Stack Overflow
Ideally I'd love to be able to move an entire onWrite event trigger to another file. EXAMPLE in index.js: exports.sysQueueUserNew = functions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found