Novu Socket info
Hey I was wondering if there was more info on what kind of events we can respond to when using the react
useSocket()
hook
I can see unseen_count_changed
from the docs example. Are there more events?
Here's the interface I was looking at
Im trying to display a toast whenever a user gets a specific type of notification. (Loving the project btw)5 Replies
bump
@Support @Engineering Could any of you have a look here?
Hey @turtles apologies for the late response from what i see at the moment there is
unseen_count_changed
, unread_count_changed
.Looks like the docs are missing it, do you mind opening issue about it?
https://github.com/novuhq/novu/issues
GitHub
Issues · novuhq/novu
The Open-Source Notifications Platform. Add a working notification center to your app in minutes. 🚀 - Issues · novuhq/novu
GitHub
Docs: Missing event names useSocket can respond to · Issue #2127 · ...
🔖 Feature description Update the docs or interface socket.on() can respond to interface ISocket { on: (eventName: string, callback: (data: any) => void) => void; off: (eventName: stri...