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

Downgrade eslint-plugin-react-hooks #104

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

tschaub
Copy link
Member

@tschaub tschaub commented Jan 8, 2025

The latest release of eslint-plugin-react-hooks incorrectly flags uses of hooks as occurring in a loop if a component function body contains a loop.

Downgrading to version 5.0.0 is a workaround until the React team publishes a release with the fix in facebook/react#28714 (merged but not yet released).

See facebook/react#31687

The latest release of eslint-plugin-react-hooks incorrectly flags uses of hooks as occurring in a loop if a component function body contains a loop.

Downgrading to version 5.0.0 is a workaround until the React team publishes a release with the fix in facebook/react#28714 (merged but not yet released).

See facebook/react#31687
@tschaub tschaub merged commit d664bcd into main Jan 8, 2025
1 check passed
@tschaub tschaub deleted the downgrade-hooks-plugin branch January 8, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants