This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Invalid Hook Call in React Js #340
Comments
I'm running into the same issue. Did you resolve this? |
Guys, have you ever tried this? |
I ran into this as well and after lots of research I wrote up this article about solving it https://gaiety.life/react-library-and-peer-dependency-woes/ In short, it has to do with |
This is a non starter. The example uses link to share the same instance of React. This is not practical if your target is not near your source. For me, there's a repo that has all of the shared UI libs. The target consumer is another repo. This is of course not this library's problem, but not being able to use this with flexibility is a problem. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to handle an operation from different re-usable component.
Upon using useState() i'm getting invalid hook call. I've gone through react documentation and this thread and nothing seems helpful and clear.
One thing i'm sure of is that i'm having a duplicate react, that i found by doing the below as stated in documentation.
The text was updated successfully, but these errors were encountered: