Skip to content

Commit d572876

Browse files
committed
Merge pull request reduxjs#646 from existentialism/typo
Fix minor docs typos
2 parents 9adc8c3 + cccaa00 commit d572876

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/basics/UsageWithReact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ In this todo app, we will only have a single “smart” component at the top of
5656

5757
Remember how we [designed the shape of the root state object](Reducers.md)? It’s time we design the UI hierarchy to match it. This is not a Redux-specific task. [Thinking in React](https://facebook.github.io/react/docs/thinking-in-react.html) is a great tutorial that explains the process.
5858

59-
Our design brief is simple. We want to show a list of todo items. On click, a todo item is crossed out as completed. We want to show a field where the user may add a new todo. In the footer, we want to show a toggle to show all / only completed / only incompleted todos.
59+
Our design brief is simple. We want to show a list of todo items. On click, a todo item is crossed out as completed. We want to show a field where the user may add a new todo. In the footer, we want to show a toggle to show all / only completed / only incomplete todos.
6060

6161
I see the following components (and their props) emerge from this brief:
6262

docs/recipes/ServerRendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export function fetchCounter(callback) {
232232

233233
Again, this is just a mock API, so we use `setTimeout` to simulate a network request that takes 500 milliseconds to respond (this should be much faster with a real world API). We pass in a callback that returns a random number asynchronously. If you’re using a Promise-based API client, then you would issue this callback in your `then` handler.
234234

235-
On the server side, we simply wrap our existing code in the `fetchCounter` and recieve the result in the callback:
235+
On the server side, we simply wrap our existing code in the `fetchCounter` and receive the result in the callback:
236236

237237
#### `server.js`
238238

0 commit comments

Comments
 (0)