From de7fcbe36ddb1bd9c26cf8da69b898126c949359 Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 18 Sep 2026 21:48:42 +0000 Subject: [PATCH 1/2] Explain that the useState setter triggers a re-render in Quick Start --- src/content/learn/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/index.md b/src/content/learn/index.md index ab1d12afb52..1854b156444 100644 --- a/src/content/learn/index.md +++ b/src/content/learn/index.md @@ -336,7 +336,7 @@ function MyButton() { } ``` -React will call your component function again. This time, `count` will be `1`. Then it will be `2`. And so on. +Calling `setCount` triggers a re-render: React will call your component function again. This time, `count` will be `1`. Then it will be `2`. And so on. If you render the same component multiple times, each will get its own state. Click each button separately: From b14d3a7e9df7baed74dbfae5ed6e079688214233 Mon Sep 17 00:00:00 2001 From: Aurora Scharff Date: Sat, 7 Nov 2026 12:38:49 -0800 Subject: [PATCH 2/2] Explain re-render behavior before naming it --- src/content/learn/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/index.md b/src/content/learn/index.md index 1854b156444..224f9dd7231 100644 --- a/src/content/learn/index.md +++ b/src/content/learn/index.md @@ -336,7 +336,7 @@ function MyButton() { } ``` -Calling `setCount` triggers a re-render: React will call your component function again. This time, `count` will be `1`. Then it will be `2`. And so on. +Calling `setCount` tells React to call your component function again. This is called a *re-render*. This time, `count` will be `1`. Then it will be `2`. And so on. If you render the same component multiple times, each will get its own state. Click each button separately: