How to display notification badges on PWAs using the Badging API - LogRocket Blog
Briefly

The Badging API allows progressive web applications to display notification badges on their icons like native applications, enhancing user interaction and visibility.
Using the Badging API is straightforward; it provides navigator.setAppBadge() for displaying notifications and navigator.clearAppBadge() for removing them, simplifying badge management.
While the Badging API can provide useful visual notifications, its implementation varies significantly across different browsers, posing compatibility challenges for developers.
The ultimate goal of utilizing the Badging API is to create an engaging user experience, ideally invoking a dopamine response when users see new notifications.
Read at LogRocket Blog
[
]
[
|
]