chore(deps): update dependency eslint-plugin-react-hooks to v5 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-react-hooks (source) | devDependencies | major | ^4.6.0 -> ^5.0.0 |
Release Notes
facebook/react
v5.0.0
-
New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means
_Button
or_component
are no longer valid. (@kassens) in #25162
- Consider dispatch from
useActionState
stable. (@eps1lon in #29665) - Add support for ESLint v9. (@eps1lon in #28773)
- Accept
as
expression in callback. (@StyleShit in #28202) - Accept
as
expressions in deps array. (@StyleShit in #28189) - Treat
React.use()
the same asuse()
. (@kassens in #27769) - Move
use()
lint to non-experimental. (@kassens in #27768) - Support Flow
as
expressions. (@cpojer in #27590) - Allow
useEffect(fn, undefined)
. (@kassens in #27525) - Disallow hooks in async functions. (@acdlite in #27045)
- Rename experimental
useEvent
touseEffectEvent
. (@sebmarkbage in #25881) - Lint for presence of
useEvent
functions in dependency lists. (@poteto in #25512) - Check
useEvent
references instead. (@poteto in #25319) - Update
RulesOfHooks
withuseEvent
rules. (@poteto in #25285)
v4.6.2
v4.6.1
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.