diff --git a/src/content/learn/index.md b/src/content/learn/index.md index ab1d12afb52..297621536fc 100644 --- a/src/content/learn/index.md +++ b/src/content/learn/index.md @@ -334,9 +334,10 @@ 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 to re-render your component. 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: