Rendered fewer hooks than expected in not-found-boundary and redirect-boundary
Unanswered
Abyssinian posted this in #help-forum
AbyssinianOP
Hello, I have recently started running into "rendered fewer hooks" errors. They seem to be coming from components that I did not write. This happens after I sign out of my app. Bascially I call logout in my auth provider (clerk) and then I redirect to my sign-in page. Has anyone run into this before?
1 Reply
AbyssinianOP
I found the source of my issue. Was conditionally rendering hooks based on the presence of a user id. Man I wish react errors were more readable 😮â€ðŸ’¨