Skip to content

Commit 79c15bc

Browse files
docs: clarify eslint-plugin-react-hooks vs react-compiler (#8036)
1 parent f9b63fd commit 79c15bc

File tree

1 file changed

+8
-0
lines changed
  • src/content/reference/eslint-plugin-react-hooks

1 file changed

+8
-0
lines changed

src/content/reference/eslint-plugin-react-hooks/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ When the compiler reports a diagnostic, it means that the compiler was able to s
2525
What this means for linting, is that you don’t need to fix all violations immediately. Address them at your own pace to gradually increase the number of optimized components.
2626
</Note>
2727

28+
<Note>
29+
**Clarification:**
30+
As of `[email protected]`, the rules from `eslint-plugin-react-compiler` have **not** yet been merged into `eslint-plugin-react-hooks`.
31+
You should continue to install and use both plugins separately if you rely on rules from each.
32+
The React team has mentioned that a merge may happen in the future, but until then, this doc reflects the current state.
33+
</Note>
34+
35+
2836
## Available Lints {/*available-lints*/}
2937

3038
These rules are available in the stable version of `eslint-plugin-react-hooks`:

0 commit comments

Comments
 (0)