A quick look at how traditional data transfer works between the Back-end and Fron-End. To get the data from the backend, frontend will call the API and in the response to it Data will be returned by the backend.

3m read timeFrom towardsdev.com
Post cover image
Table of contents
What’s the problem with this flow?What is the need to transfer data from Backend to Frontend without an API call?What are Server Sent Events?GitHub - dillibk777/node-server-sent-events-exampleHow Front-end receiving Updates from Back-end?

Sort: