react-awesome-popover icon indicating copy to clipboard operation
react-awesome-popover copied to clipboard

Conflict with Povider from react-redux

Open olive007 opened this issue 5 years ago • 1 comments

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.

olive007 avatar Dec 02 '19 22:12 olive007

I'll try to see what's wrong

vaheqelyan avatar Dec 03 '19 07:12 vaheqelyan