Skip to content

Commit dbe5b49

Browse files
randomdevpetegaearon
authored andcommitted
Fix a very small typo (#754)
"potential" -> "potentially"
1 parent e8cdf51 commit dbe5b49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/docs/reference-react-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ If you need to update `state` in response to `props` changes, use [`getDerivedSt
295295

296296
### `getSnapshotBeforeUpdate()`
297297

298-
`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()`.
298+
`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()`.
299299

300300
For example:
301301

0 commit comments

Comments
 (0)