From 602bfb5eda6c203d15dacdce444a8b67e0f91d45 Mon Sep 17 00:00:00 2001 From: Aviv Hadar Date: Mon, 9 Mar 2020 13:08:46 +0100 Subject: [PATCH] Update hooks-reference.md (#2691) Clarifying a useState sentence --- content/docs/hooks-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index 2a3c881be..099a50ec9 100644 --- a/content/docs/hooks-reference.md +++ b/content/docs/hooks-reference.md @@ -69,7 +69,7 @@ function Counter({initialCount}) { The "+" and "-" buttons use the functional form, because the updated value is based on the previous value. But the "Reset" button uses the normal form, because it always sets the count back to the initial value. -If your update function returns the exact same value, the subsequent rerender will be skipped completely. +If your update function returns the exact same value as the current state, the subsequent rerender will be skipped completely. > Note >