They are not the same. It's a similar concept. Both have their own eventloop. Node js event loop is somewhat advanced version customized for server environment.
Now you must be wondering how these two event loops work together?I was stuck for a long time and how these both work together. Then I asked someone.His youtube channel-https://www.youtube.com/@codingscenes/videos. He provides me some pics helped me lot!
Let's suppose you have clicked a button that will bring users result on UI
How does this go from front-end to back-end
FRONTED
BACKEND
FRONTED
Hope you have understood a little๐.
Special Thanks โฅ๏ธ-https://www.codingscenes.com/
Top comments (1)
Very helpful!