From 2ebe685298d88599f84db43a0eeac201ba2d8a41 Mon Sep 17 00:00:00 2001 From: HyperLife1119 Date: Sat, 22 Nov 2025 14:56:44 +0800 Subject: [PATCH] docs: fix order of render phases in lifecycle documentation (cherry picked from commit b6b6fae48307458b69ca0c54c3a30197aee0c21e) --- adev/src/content/guide/components/lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adev/src/content/guide/components/lifecycle.md b/adev/src/content/guide/components/lifecycle.md index 47b6a9ea2c2..6f075427532 100644 --- a/adev/src/content/guide/components/lifecycle.md +++ b/adev/src/content/guide/components/lifecycle.md @@ -292,8 +292,8 @@ There are four phases, run in the following order: | Phase | Description | | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `earlyRead` | Use this phase to read any layout-affecting DOM properties and styles that are strictly necessary for subsequent calculation. Avoid this phase if possible, preferring the `write` and `read` phases. | -| `mixedReadWrite` | Default phase. Use for any operations need to both read and write layout-affecting properties and styles. Avoid this phase if possible, preferring the explicit `write` and `read` phases. | | `write` | Use this phase to write layout-affecting DOM properties and styles. | +| `mixedReadWrite` | Default phase. Use for any operations need to both read and write layout-affecting properties and styles. Avoid this phase if possible, preferring the explicit `write` and `read` phases. | | `read` | Use this phase to read any layout-affecting DOM properties. | ## Lifecycle interfaces