Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid hook call #4

Open
LouisSyfer opened this issue Sep 25, 2022 · 3 comments
Open

Invalid hook call #4

LouisSyfer opened this issue Sep 25, 2022 · 3 comments

Comments

@LouisSyfer
Copy link

Hi, it's a great project ! Congratulations ! But... When I try it on my app (it's absolutely the same code as your src/pages folder) it's working but I have the following error : "invalid hook call" which is very strange because there is nowhere an invalid hook call in your code. Of course, it's impossible to push in production (I use Vercel as well).
Maybe some have an idea about how to fix it ?
Thanks in advance for the reply !

@dbwcooper
Copy link
Owner

dbwcooper commented Nov 1, 2022

Hi, it's a great project ! Congratulations ! But... When I try it on my app (it's absolutely the same code as your src/pages folder) it's working but I have the following error : "invalid hook call" which is very strange because there is nowhere an invalid hook call in your code. Of course, it's impossible to push in production (I use Vercel as well). Maybe some have an idea about how to fix it ? Thanks in advance for the reply !

Hi @LouisSyfer React v18 hooks are not supported.

Could you give me more info?

@Rektovski
Copy link

I have same error using react last version. Just used it as it was written in 1 component file in to the app.js to test it. Invalid hook

@diegomurillocreativaconsultores

I am getting the same error. Is disgusting. I do not know what to do. At the end I think I would have to use another lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants