Is there any way to update an existing notification in Novu (In-App) with new content?
1. Is there any way to update an existing notification in Novu (In-App) with new content?
2. How would I programmatically clear a notification from the novu in-app notification center and see this notification get removed without needing to refresh the notification center?
4 Replies
1. As long as the notification as gone out, you can't update it anymore. Unless you are self-hosting and you decide to go update it in the DB (which is not recommended)
2. We don't support that right now. The refresh will have to happen
@rajat about 2, by clear do you mean that you use the remove message feature?
yep, the remove message feature @Gali Baum
@rajat
You can use this hook to remove notification
https://docs.novu.co/notification-center/client/react/api-reference#useremovenotification