From ce2729582c97ca7e5bcc76230a85be6519398cd2 Mon Sep 17 00:00:00 2001 From: Stephen Burke Date: Fri, 26 Oct 2018 00:55:51 -0400 Subject: [PATCH] Update hooks-overview.md (#1308) --- content/docs/hooks-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/hooks-overview.md b/content/docs/hooks-overview.md index 1ce1a1412..70bc03774 100644 --- a/content/docs/hooks-overview.md +++ b/content/docs/hooks-overview.md @@ -58,7 +58,7 @@ function ExampleWithManyStates() { } ``` -The [array destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Array_destructuring) syntax let us give different names to the state variables we declared by calling `useState`. These names aren't a part of the `useState` API. Instead, React assumes that if you call `useState` many times, you do it in the same order during every render. We'll come back to why this works and when this is useful later. +The [array destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Array_destructuring) syntax lets us give different names to the state variables we declared by calling `useState`. These names aren't a part of the `useState` API. Instead, React assumes that if you call `useState` many times, you do it in the same order during every render. We'll come back to why this works and when this is useful later. #### But what is a Hook?