New course! Every coder should learn Generative AI!
Try a free lesson+ 1
<Notification> not working in React project
https://code.sololearn.com/Wl3F668uXm8u/?ref=app The Notification isn't working anywhere in the react project. The tutorial I've been following has Alert.info() to show the popup, but in the new version of rsuite(https://rsuitejs.com/components/overview/) the Alert isn't available anymore. So as an alternative, I tried using <Notification> but there's no notification popup showing at all.
1 Answer
+ 1
Well, you first have an error in your code which stops it from going to the next line of code. If you didn't know, your external JS file is not a module, yet you are using the import and export function. When using an actual text editor, you can set the external JS file as a module and then you are free to use the import/export function.