From 48c4a60772e1e5e76d7e6c52363fe62ec275ab2b Mon Sep 17 00:00:00 2001 From: delta <528491526@qq.com> Date: Sun, 17 May 2026 00:29:35 +0800 Subject: [PATCH] docs: update StrictMode example labels to Neo and Millie --- src/content/reference/react/StrictMode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/StrictMode.md b/src/content/reference/react/StrictMode.md index 16e8d9e6065..ca86ec1b500 100644 --- a/src/content/reference/react/StrictMode.md +++ b/src/content/reference/react/StrictMode.md @@ -841,7 +841,7 @@ Every callback `ref` has some setup code and may have some cleanup code. Normall When Strict Mode is on, React will also run **one extra setup+cleanup cycle in development for every callback `ref`.** This may feel surprising, but it helps reveal subtle bugs that are hard to catch manually. -Consider this example, which allows you to select an animal and then scroll to one of them. Notice when you switch from "Cats" to "Dogs", the console logs show that the number of animals in the list keeps growing, and the "Scroll to" buttons stop working: +Consider this example, which allows you to select an animal and then scroll to one of them. Notice when you switch from "Neo" to "Millie", the console logs show that the number of animals in the list keeps growing, and the "Scroll to" buttons stop working: