From 1f8403c7ea77b037b98982f1a8ac723e6b96cc5f Mon Sep 17 00:00:00 2001 From: Stephie Date: Wed, 22 Feb 2017 09:37:55 -0800 Subject: [PATCH] Fixed typo: "Calcutor" to "Calculator" (#9047) --- docs/lifting-state-up.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lifting-state-up.md b/docs/lifting-state-up.md index af8bf110..f1809b59 100644 --- a/docs/lifting-state-up.md +++ b/docs/lifting-state-up.md @@ -172,7 +172,7 @@ However, we want these two inputs to be in sync with each other. When we update In React, sharing state is accomplished by moving it up to the closest common ancestor of the components that need it. This is called "lifting state up". We will remove the local state from the `TemperatureInput` and move it into the `Calculator` instead. -If the `Calcutor` owns the shared state, it becomes the "source of truth" for the current temperature in both inputs. It can instruct them both to have values that are consistent with each other. Since the props of both `TemperatureInput` components are coming from the same parent `Calculator` component, the two inputs will always be in sync. +If the `Calculator` owns the shared state, it becomes the "source of truth" for the current temperature in both inputs. It can instruct them both to have values that are consistent with each other. Since the props of both `TemperatureInput` components are coming from the same parent `Calculator` component, the two inputs will always be in sync. Let's see how this works step by step.