Skip to content

Get Unread Count via Hook #479

Open
Open
@amcdnl

Description

@amcdnl

Feature

It would be great to have the ability to get the unread count via the hook.

const { unreadCount } = useIntercom();

The primary driver behind the request is getting the notification count in a location that is not easy to get from the provider.

I handled this for now using my own context provider but it seems like the library could do this internally pretty easily.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions