react-contexify
react-contexify copied to clipboard
"Error: Invalid hook call" when trying to run locally
Do you want to request a feature or report a bug? bug
What is the current behavior? I'm trying to install react-contexify locally. I have forked and clone the repo to my project.
After rendering the lib in a React Component like in the example, I get this error :

I have checked if I had multiple versions of React running using npm ls react and all are 18.1.0
I have also checked for React-dom version and all are also 18.1.0
I tried importing it from /src as well as from /dist without success in both cases.
Am I missing something related to installation or import ?
Hey I think something is off with your setup, if you share a repo I could maybe help