fkhadra / fkhadra/react-contexify

"Error: Invalid hook call" when trying to run locally

Open
#213 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
132
PR merge metrics
No merged PRs in 30d

Description

**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 :
![image](https://user-images.githubusercontent.com/1285196/176392231-c6c0ca3b-3de9-4135-aec2-e56f045e478f.png)

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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.