© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
NovuN
Novu•9mo ago•
41 replies
Mark Garcia

Headless using Novu/JS

I am using the following snippet on our react js app

const novu = useMemo(() => {
return new Novu({
applicationIdentifier: applicationId,
subscriberId: memberId,
});
}, [applicationId, memberId]);

novu.on('notifications.notification_received', data => {
console.log('new notification =>', data);
getNotifications(1);
});

I see websockets being called in the inspector but the event does NOT get fired. Am I missing anything?
Novu banner
NovuJoin
Open Source Notification Infrastructure Community by Novu
4,169Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Novu Headless Socket
NovuNNovu / 💬│support
9mo ago
Novu Headless with EventStream
NovuNNovu / 💬│support
17mo ago
Novu headless in v2?
NovuNNovu / 💬│support
2y ago