Few cleanups for 19.2 (#8046)

This commit is contained in:
Ricky
2025-10-02 10:06:30 -04:00
committed by GitHub
parent 9850724eb4
commit 42037e2dfd
2 changed files with 5 additions and 7 deletions

View File

@@ -312,12 +312,6 @@ Read **[Lifecycle of Reactive Events](/learn/lifecycle-of-reactive-effects)** to
## Separating events from Effects {/*separating-events-from-effects*/}
<Wip>
This section describes an **experimental API that has not yet been released** in a stable version of React.
</Wip>
Event handlers only re-run when you perform the same interaction again. Unlike event handlers, Effects re-synchronize if any of the values they read, like props or state, are different than during last render. Sometimes, you want a mix of both behaviors: an Effect that re-runs in response to some values but not others.
All code inside Effects is *reactive.* It will run again if some reactive value it reads has changed due to a re-render. For example, this Effect will re-connect to the chat if either `roomId` or `theme` have changed:

View File

@@ -11,7 +11,8 @@ The React docs at [react.dev](https://react.dev) provide documentation for the l
We aim to keep the docs updated within major versions, and do not publish versions for each minor or patch version. When a new major is released, we archive the docs for the previous version as `x.react.dev`. See our [versioning policy](/community/versioning-policy) for more info.
You can find an archive of previous major versions below.
## Latest version: 19.2 {/*latest-version*/}
## Latest version: 19.3 {/*latest-version*/}
- [react.dev](https://react.dev) {/*docs-19*/}
@@ -40,6 +41,8 @@ For versions older than React 15, see [15.react.dev](https://15.react.dev).
- [React v19](/blog/2024/12/05/react-19)
- [React 19 Upgrade Guide](/blog/2024/04/25/react-19-upgrade-guide)
- [React Compiler Beta Release](/blog/2024/10/21/react-compiler-beta-release)
- [React Compiler RC](/blog/2025/04/21/react-compiler-rc)
- [React 19.2](/blog/2025/10/01/react-19-2)
**Talks**
- [React 19 Keynote](https://www.youtube.com/watch?v=lyEKhv8-3n0)
@@ -51,6 +54,7 @@ For versions older than React 15, see [15.react.dev](https://15.react.dev).
- [React 19 Deep Dive: Coordinating HTML](https://www.youtube.com/watch?v=IBBN-s77YSI)
**Releases**
- [v19.2.0 (October, 2025)](https://github.com/facebook/react/blob/main/CHANGELOG.md#1920-october-1st-2025)
- [v19.1.0 (March, 2025)](https://github.com/facebook/react/blob/main/CHANGELOG.md#1910-march-28-2025)
- [v19.0.0 (December, 2024)](https://github.com/facebook/react/blob/main/CHANGELOG.md#1900-december-5-2024)