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

feat: useExhaustiveDependencies not recommended #4294

Open
wants to merge 9 commits into
base: next
Choose a base branch
from

Conversation

ematipico
Copy link
Member

Summary

Closes #4293

Test Plan

CI should pass

@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Oct 14, 2024
Copy link

codspeed-hq bot commented Oct 14, 2024

CodSpeed Performance Report

Merging #4294 will improve performances by 6.84%

Comparing feat/do-not-recommend-rule (64c973b) with next (3e01579)

Summary

⚡ 1 improvements
✅ 100 untouched benchmarks

Benchmarks breakdown

Benchmark next feat/do-not-recommend-rule Change
react.production.min_3378072959512366797.js[cached] 2 ms 1.9 ms +6.84%

@github-actions github-actions bot added the A-Project Area: project label Oct 14, 2024

# The rule `useExhaustiveDependencies` isn't recommended anymore

The rule `useExhaustiveDependencies` is not recommended anymore. If your codebase uses `react` and relies on that rule, you have to enable it:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this will be improved before the actual release then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter A-Project Area: project L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants