I would like to send a notification in a form of a pop-up modal when pressing a button from my Admin dashboard. I wanted to know what is the best way to achieve this goal. While looking online I saw the options that stands in front of me are: web browser notifications using "web-push npm" library, but it is irrelevant for me as we are using Angular 4 and the library supports 5+. Also I saw that I can achieve this goal using websockets with socket.io
So the bottom line is which is preferred? Anyone that developed that kind of feature that can give an advice?
Technologies: Angular 4 NodeJS 8.X.X