Blog post for React 19.2 (#8028)

* wip

* feedback and rm canary stuff

* tweak

* fix json

* more canary stuff

* fix link

* update dates

* update meta description

* Expand performance track section

* adjust linter note

* edit perf tracks down

* edit perf tracks down more

* tweak note

* tweak useEffectEvent

* formatting

* tweaks

* ppr

* rm canary stuff

* fix json

* fix json

* tweaks

* linter note

* nit

* nit

* link

* nit

* ppr

* missing await

* add lint v6

* fix link

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
This commit is contained in:
Ricky
2025-10-01 17:42:52 -04:00
committed by GitHub
parent dc86f88afe
commit c3d7560005
38 changed files with 424 additions and 245 deletions

View File

@@ -1,6 +1,5 @@
---
title: component-hook-factories
version: rc
---
<Intro>
@@ -9,13 +8,11 @@ Validates against higher order functions defining nested components or hooks. Co
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates the compiler [configuration options](/reference/react-compiler/configu
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates usage of Error Boundaries instead of try/catch for errors in child com
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates configuration of [gating mode](/reference/react-compiler/gating).
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against assignment/mutation of globals during render, part of ensuring
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against mutating props, state, and other values that [are immutable](/
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against usage of libraries which are incompatible with memoization (ma
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
<Note>

View File

@@ -9,13 +9,11 @@ Validates that existing manual memoization is preserved by the compiler. React C
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates that [components/hooks are pure](/reference/rules/components-and-hooks
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates correct usage of refs, not reading/writing during render. See the "pit
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against calling setState synchronously in an effect, which can lead to
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against unconditionally setting state during render, which can trigger
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates that components are static, not recreated every render. Components tha
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates against syntax that React Compiler does not support. If you need to, y
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}

View File

@@ -9,13 +9,11 @@ Validates that the `useMemo` hook is used with a return value. See [`useMemo` do
</Intro>
<RC>
<Note>
This rule is available in the RC version of `eslint-plugin-react-hooks`.
This rule is available in `eslint-plugin-react-hooks` v6.
You can try it by upgrading the lint plugin [to the most recent RC version](/learn/react-compiler/installation#eslint-integration).
</RC>
</Note>
## Rule Details {/*rule-details*/}