-1

How to update front end ui when database records updates or changes

Example Twitter Twitter post dynamically gets increased no of likes

What is the technology we shall use for this kind of real time updates and what is the way

Another example firebase When something updates in firebase records Automatically front end ui updates

Please could someone help me to crack this

1 Answers1

1

There are many solutions for pushing data from a server to a (web) client. Some examples from Firebase:

  • Firebase's Realtime Database SDKs use Web Sockets for maintaining its connection between client and server.
  • When you access Firebase Realtime Database using its REST API, you can use server-sent events (SSE) to accomplish streaming updates.
  • Cloud Firestore uses long-polling requests over HTTP/2. There are many solutions for this type of connection.

Some more reading:

Frank van Puffelen
  • 418,229
  • 62
  • 649
  • 645
  • Thank you very much for the reference , I'll go through all these , if I find any solution then I'll mark this as an answer , I appreciate your help – T Jagadish Gupta Apr 03 '20 at 10:11