diff --git a/content/docs/reference-react-component.md b/content/docs/reference-react-component.md index 26a132a47..12deef6e3 100644 --- a/content/docs/reference-react-component.md +++ b/content/docs/reference-react-component.md @@ -295,7 +295,7 @@ If you need to update `state` in response to `props` changes, use [`getDerivedSt ### `getSnapshotBeforeUpdate()` -`getSnapshotBeforeUpdate()` is invoked right before the most recently rendered output is committed to e.g. the DOM. It enables your component to capture current values (e.g. scroll position) before they are potential changed. Any value returned by this lifecycle will be passed as a parameter to `componentDidUpdate()`. +`getSnapshotBeforeUpdate()` is invoked right before the most recently rendered output is committed to e.g. the DOM. It enables your component to capture current values (e.g. scroll position) before they are potentially changed. Any value returned by this lifecycle will be passed as a parameter to `componentDidUpdate()`. For example: