Invalid hook call
Opened this issue · 3 comments
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, 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?
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
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