-
Notifications
You must be signed in to change notification settings - Fork 29.5k
[next 14] Enforce eslint-plugin-react-hooks v4 #71302
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
base: 14-2-1
Are you sure you want to change the base?
Conversation
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
1 similar comment
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a critical fix. Technically breaking again if you already relied on the new behavior considering for how long this has been out there. I don't see a path to safely backport nor the urgency to do this. You could always use resolutions or overrides to fix it.
@eps1lon If left unfixed, new next 14 apps will actually install a very old canary eslint-plugin-react-hooks@5 from July 2023 as I mentioned before, instead of 4.6.2. And that's a regression, if you ask me. Anyway, I won't spend more time on this. I already have an override in place, which works fine, as I already said at the very beginning here #71218 (comment) Note to self: do not spend time on OSS - not worth it. |
I agree. However, the change has been out there since 14.0 was released (actually since 13.4.9). So practically we can't revert that change at this point without risking breakage. Backporting is a taxing and risk operation so it's restricted to critical fixes. A dev-only issue that has a workaround does not fall into that category. |
Funny. Setting 4.6.2 is not a backport. And using canary react in next.js isn't risky? C'mon... |
Can this be merged please? There's still no good explanation as to why has the plugin been pinned to a specific |
@eps1lon @feedthejim Please see the reason for this in #71291