I'm reading Mozilla's Service Worker Cookbook and I found that service workers implement event listener for the "push" event in two different ways:
Why would I need to implement push notifications using the second options? Are there some browsers that don't support payload inside the push notifications?
1.4m articles
1.4m replys
5 comments
56.8k users