To enable live reload on the data, while you work on it


Firebase realtime db

https://gist.github.com/dimovdaniel/0ba453a691e784a01c021495712bc679


Replace the getDataFromFirebase function in "src/Containers/Fireadmin.js" around line 200.

Important: don't forget to add sleep function.


Firestore db

In "src/containers/Firestoreadmin.js" around line 208 replace 

docRef.get().then(function(doc) {


with


 docRef.onSnapshot(function(doc) {