schiehll / react-alert

alerts for React
MIT License
607 stars 99 forks source link

Attempted import error: 'useAlert' is not exported from 'react-alert'. #134

Closed littlefroginnovations closed 5 years ago

littlefroginnovations commented 5 years ago

Attempted import error: 'useAlert' is not exported from 'react-alert'.

Installed packages "react": "^16.9.0", "react-alert": "^5.5.0", "react-dom": "^16.9.0", "prop-types": "^15.6.2", "react-alert-template-basic": "^1.0.0", "react-transition-group": "^2.9.0",

schiehll commented 5 years ago

Hey, @littlefroginnovations! I'm pretty sure it works as a lot of people have been using it for years, but if you can reproduce it in a codesandbox I can take a look at it.

It's probably your configuration...so that's why I would need a reproducible codesandbox, you can fork the one in the readme. I will reopen if you provide it, thanks!