Skip to content

Commit 878fb98

Browse files
committed
Capitalize State in useReducer.md
1 parent 52b5f30 commit 878fb98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/content/reference/react/useReducer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ function handleClick() {
956956
}
957957
```
958958
959-
This is because [states behaves like a snapshot.](/learn/state-as-a-snapshot) Updating state requests another render with the new state value, but does not affect the `state` JavaScript variable in your already-running event handler.
959+
This is because [State behaves like a snapshot.](/learn/state-as-a-snapshot) Updating state requests another render with the new state value, but does not affect the `state` JavaScript variable in your already-running event handler.
960960
961961
If you need to guess the next state value, you can calculate it manually by calling the reducer yourself:
962962

0 commit comments

Comments
 (0)