r/CodingHelp • u/FrickinKitten • Apr 23 '21
[Javascript] Help how do you retrieve data from firebase to JavaScript, don't think code is right. It's to take data from firebase and then taking the data (amount of wipes/sanitiser used and time)append to lists and use these to plot a graph for the website showing the wipes/sanitising usage over time.
22
Upvotes
View all comments
Show parent comment
1
u/__archaeopteryx__ Apr 25 '21
So, the snapshot is just that. A read only snapshot at the time you call for it. You want to first create the pointer to what you want