Search
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
•
5 replies
AdmiralGeneralAladeen
Cannot use `useState` inside of callback?
I
'm getting this error even though im using it inside a function that returns JSX
.Element
.
.
. No errors in my dev environment
, only the vercel linter is saying it fails to compile
Theo's Typesafe Cult
Join
26,197
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
TypeError: Cannot read properties of null (reading 'useState')
TTC
Theo's Typesafe Cult / questions
3y ago
Question about the use of useSession() callback
TTC
Theo's Typesafe Cult / questions
3y ago
Access clerkId inside upload thing callback
TTC
Theo's Typesafe Cult / questions
3y ago