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

Clarify that you can't return early between Hooks #1350

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Clarify that you can't return early between Hooks #1350

wants to merge 1 commit into from

Conversation

jamesgpearce
Copy link

...Otherwise you get an error like Uncaught Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement. in finishHooks.

...Otherwise you get an error like `Uncaught Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.` in `finishHooks`.
@reactjs-bot
Copy link

Deploy preview for reactjs ready!

Built with commit b6b66fe

https://deploy-preview-1350--reactjs.netlify.com

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

Successfully merging this pull request may close these issues.

3 participants