Closed austinh closed 5 years ago
Also get this error:
Uncaught TypeError: _reactNotificationSystemRedux2.default.show is not a function
I got the same not-a-function error but for success and error. And then fixed by changing from:
import Notifications from 'react-notification-system-redux'
to
import * as Notifications from 'react-notification-system-redux'
1.1.6 released which should fix the issue with exports. Exports should work as per README
Thank you! :)
Seeing the same error reported by @austinh up at the top, any news on fixing/working around it?
@aurbano I fixed that issue through yarn add react-notification-system
. There is no this problem with last version of react-notification-system (0.2.16).
It seems react-notification-system (0.2.17) introduced this error. I started seeing this after upgrading. Reverting to 0.2.16 fixes this.
Should be resolved in v2.0.0 which was just released. Cuddos to @epotockiy
Using this plugin while also using react@^16.0.0 causes the following error in the browser: