From e230039832fbad42076759d25150c8928a99ec5a Mon Sep 17 00:00:00 2001 From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Date: Sat, 8 Dec 2018 15:01:51 -0800 Subject: [PATCH] fix: Capitalized "the" at start of sentence (#34562) --- guide/english/react/state/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/react/state/index.md b/guide/english/react/state/index.md index eed6dbc435d..fe6e08c8c8c 100644 --- a/guide/english/react/state/index.md +++ b/guide/english/react/state/index.md @@ -112,7 +112,7 @@ this.setState(increment) Importing state via changes via functions helps keep each module as short as possible and can be used for cleaner code. #### setState's callback function -the `setState` method for class based React components also takes a second argument: a callback function that is called once state is successfully updated. This can be useful for performing tasks that rely on the most recent state value (but aren't in the render method). +The `setState` method for class based React components also takes a second argument: a callback function that is called once state is successfully updated. This can be useful for performing tasks that rely on the most recent state value (but aren't in the render method). ``` this.setState({ friends: 0}, () => this.findNewFriends()); ...