From 4808a469fa782cead9802619b0341b27b342e2d3 Mon Sep 17 00:00:00 2001 From: Joel Mathew Koshy Date: Sun, 7 Aug 2022 20:50:30 +0530 Subject: [PATCH] [Beta] fixed grammatical typo in render-and-commit.md (#4881) --- 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 5e11c08c5..28297dec9 100644 --- a/beta/src/pages/learn/render-and-commit.md +++ b/beta/src/pages/learn/render-and-commit.md @@ -138,7 +138,7 @@ 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.) -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. +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.