Skip to content

Revert "Add support to exhaustive-deps rule for any hook ending with Effect"#19004

Merged
gaearon merged 1 commit intofacebook:masterfrom
gaearon:revert-lint
May 26, 2020
Merged

Revert "Add support to exhaustive-deps rule for any hook ending with Effect"#19004
gaearon merged 1 commit intofacebook:masterfrom
gaearon:revert-lint

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented May 26, 2020

Reverts #18580.

I thought we might try this but there's both bugs in the implementation (#19001) and too many false positives (#18580 (comment), #18580 (comment), #18858, #18888). I think it's clear this heuristic hasn't worked out.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ba33105:

Sandbox Source
serverless-surf-6fv6c Configuration

@sizebot
Copy link

sizebot commented May 26, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against ba33105

@sizebot
Copy link

sizebot commented May 26, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against ba33105

@gaearon gaearon merged commit bb2239d into facebook:master May 26, 2020
@swissspidy
Copy link
Contributor

I'd like to propose #18861 as an alternative solution for this

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

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants