0

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

New contributor
chen20032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by ᔕᖺᘎᕊ, RockPaperLizard Feb 12 at 3:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.