Skip to content

Commit c54e80e

Browse files
committed
Minor help text improvements
1 parent 1eb7d5a commit c54e80e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/basics/DataFlow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The data lifecycle in any Redux app follows these 4 steps:
1818
{ type: 'ADD_TODO', text: 'Read the Redux docs.'};
1919
```
2020

21-
Think of an action as a very brief snippet of news. “Mary liked article 42.” or “Read the Redux docs. was added to the list of todos.”
21+
Think of an action as a very brief snippet of news. “Mary liked article 42.” or “'Read the Redux docs.' was added to the list of todos.”
2222

2323
You can call [`store.dispatch(action)`](../api/Store.md#dispatch) from anywhere in your app, including components and XHR callbacks, or even at scheduled intervals.
2424

@@ -46,7 +46,7 @@ The data lifecycle in any Redux app follows these 4 steps:
4646
let nextState = todoApp(previousState, action);
4747
```
4848

49-
Note that reducer is a pure function. It only *computes* the next state. It should be completely predictable: calling it with the same inputs many times should produce the same outputs. It shouldn’t perform any side effects like API calls or router transitions. These should happen before an action is dispatched.
49+
Note that a reducer is a pure function. It only *computes* the next state. It should be completely predictable: calling it with the same inputs many times should produce the same outputs. It shouldn’t perform any side effects like API calls or router transitions. These should happen before an action is dispatched.
5050

5151
3. **The root reducer may combine the output of multiple reducers into a single state tree.**
5252

0 commit comments

Comments
 (0)