title: How can ReactJS gets notified and update UI on Firebase database updates
body: <p>I need some technical design guidance on how to do this.</p>
  <p>I have a webapp that is build on ReactJS and I have a Firebase Database
  I would like to update realtime data from Firebase Database updated to the ReactJS UI (filtered to particular user/account)</p>
  <p>I know that we can listen to Firebase Database events from Functions using these guidance:
  <a href="https://firebase.google.com/docs/functions/database-events" rel="nofollow noreferrer">https://firebase.google.com/docs/functions/database-events</a></p>
  <p>Can reactJS subscribe to certain events from function to get these triggers ?</p>
  <p>I would like real-time information appearing on the ReactJS page. Can someone advise how would this be designed / architectured ? Thanks</p>