Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

fix false possitive early return errors#20

Merged
rmorshea merged 1 commit intomainfrom
fix-early-return
Oct 7, 2022
Merged

fix false possitive early return errors#20
rmorshea merged 1 commit intomainfrom
fix-early-return

Conversation

@rmorshea
Copy link
Contributor

@rmorshea rmorshea commented Oct 7, 2022

Any return statement inside a component triggers early return errors for hook usages that happen afterwards.

@rmorshea rmorshea merged commit 81c9ca9 into main Oct 7, 2022
@rmorshea rmorshea deleted the fix-early-return branch October 7, 2022 05:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant