This repository was archived by the owner on Jul 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 166
Multiple React version solutions #231
Unanswered
vincenzopalazzo
asked this question in
Q&A
-
I ran the new version of the library in single-page mode and I receive the following error
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
I user Material-UI as dependence and I think it pulls a different version of react, there any solution to fix it?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
I'm stuck on this issue as well. Do you have any solutions?
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
"aleph dev -r" may can help you
Beta Was this translation helpful? Give feedback.
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment