Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Multiple React version solutions #231

Unanswered
vincenzopalazzo asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

I'm stuck on this issue as well. Do you have any solutions?

You must be logged in to vote
1 reply
Comment options

ije Sep 5, 2021
Maintainer

"aleph dev -r" may can help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /