diff --git a/docs/lifting-state-up.md b/docs/lifting-state-up.md index 359ca7df7..643240cfe 100644 --- a/docs/lifting-state-up.md +++ b/docs/lifting-state-up.md @@ -196,7 +196,7 @@ Now, when the `TemperatureInput` wants to update its temperature, it calls `this this.props.onTemperatureChange(e.target.value); ``` -Note that there is no special meaning to either `temperature` or `onTemperatureChange` prop names in custom components. We could have called them anything else, like name them `value` and `onChange` which is a common convention. +> Note that there is no special meaning to either `temperature` or `onTemperatureChange` prop names in custom components. We could have called them anything else, like name them `value` and `onChange` which is a common convention. The `onTemperatureChange` prop will be provided together with the `temperature` prop by the parent `Calculator` component. It will handle the change by modifying its own local state, thus re-rendering both inputs with the new values. We will look at the new `Calculator` implementation very soon.