I am using Node.js and express on my website and I get the data that I represent from firebase (real-time database). I render the ejs file. When I change the data in firebase I can see the updated data in console.log() but I can't see the updated data on the website without refreshing the page. Is there a way for me to update the ejs template when I get a new snapshot?
The code snipped I have the snapshots from Firebase
2.1m questions
2.1m answers
60 comments
57.0k users