Conflict with Povider from react-redux
Opened this issue · 1 comments
olive007 commented
Hello once I installed react-awesome-popover with npm i -D react-awesome-popover
. My application create a error. The error disappeared when I changed <Provider/> from "react-redux" to a simple <div/>. Once I uninstall the package my app rework perfectly.
- react": "^16.11.0"
- react-dom": "^16.11.0"
- react-redux": "^7.1.3"
- redux": "^4.0.4"
- ...
The error was: Invalid hook call. Hooks can only be called inside of the body of a function component.
vaheqelyan commented
I'll try to see what's wrong