diff --git a/src/content/learn/index.md b/src/content/learn/index.md index ab1d12afb52..43cd8960c02 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()` tells React that its state has changed, which 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: