Closed gorkemkose closed 11 months ago
The issue was my root layout file. It's solved.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Link to the code that reproduces this issue
https://github.com/gorkemkose/NextJSBugReport
To Reproduce
Current vs. Expected behavior
Current Behaviour
useEffect hook doesn't work and useState hook doesn't work either.
Expected Behaviour
The useEffect function should be called and the onClick function should call the provided handler function.
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
I also tried for the latest node.js update and the last stable one. I tried the latest canary relase as well as 14.0.2 release. The bug is reproducible locally.