I am unable to create a subscriber using react client sdk from my local
Getting CORS error while using
novu.subscribers.identify("789", {
firstName: "Sumit",
lastName: "Saurabh",
});
5 Replies
@Kirthiraj
I think you are using nodejs sdk in react
Nodejs sdk is backend sdk and should be used in server side only
is there a seprate SDK for React, to create a subscriber from client side ?
Our notification center will automatically create a subscriber
https://docs.novu.co/notification-center/client/react/get-started
Here if you send any non existing subscriber id then that subscriber will be created
thank you so much super helpful