From 0df0a05530c68ad9ee0027f48e8af612038f21e0 Mon Sep 17 00:00:00 2001 From: zqran Date: Mon, 5 Sep 2022 23:16:43 +0800 Subject: [PATCH] [Beta] clarify grammar (#4985) --- beta/src/pages/learn/render-and-commit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/pages/learn/render-and-commit.md b/beta/src/pages/learn/render-and-commit.md index e292d933..c22b708d 100644 --- a/beta/src/pages/learn/render-and-commit.md +++ b/beta/src/pages/learn/render-and-commit.md @@ -132,7 +132,7 @@ img { margin: 0 10px 10px 0; } Rendering must always be a [pure calculation](/learn/keeping-components-pure): * **Same inputs, same output.** Given the same inputs, a component should always return the same JSX. (When someone orders a salad with tomatoes, they should not receive a salad with onions!) -* **Mind its own business.** It should not change any objects or variables that existed before rendering. (One order should not change anyone else's order.) +* **It minds its own business.** It should not change any objects or variables that existed before rendering. (One order should not change anyone else's order.) Otherwise, you can encounter confusing bugs and unpredictable behavior as your codebase grows in complexity. When developing in "Strict Mode", React calls each component's function twice, which can help surface mistakes caused by impure functions.