Permalink
Browse files

Switch out non-ASCII quotes for ASCII versions. (#1874)

  • Loading branch information...
1 parent 1ce3d14 commit d18a977260cf29d49499781367f56353ebd9697a @timdorr timdorr committed on GitHub Aug 1, 2016
Showing with 325 additions and 325 deletions.
  1. +6 −6 CONTRIBUTING.md
  2. +13 −13 README.md
  3. +41 −41 docs/FAQ.md
  4. +8 −8 docs/Glossary.md
  5. +9 −9 docs/Troubleshooting.md
  6. +24 −24 docs/advanced/AsyncActions.md
  7. +2 −2 docs/advanced/AsyncFlow.md
  8. +22 −22 docs/advanced/Middleware.md
  9. +1 −1 docs/advanced/NextSteps.md
  10. +1 −1 docs/advanced/UsageWithReactRouter.md
  11. +1 −1 docs/api/README.md
  12. +8 −8 docs/api/Store.md
  13. +9 −9 docs/api/applyMiddleware.md
  14. +6 −6 docs/api/bindActionCreators.md
  15. +3 −3 docs/api/combineReducers.md
  16. +1 −1 docs/api/compose.md
  17. +4 −4 docs/api/createStore.md
  18. +10 −10 docs/basics/Actions.md
  19. +6 −6 docs/basics/DataFlow.md
  20. +2 −2 docs/basics/README.md
  21. +25 −25 docs/basics/Reducers.md
  22. +4 −4 docs/basics/Store.md
  23. +12 −12 docs/basics/UsageWithReact.md
  24. +2 −2 docs/introduction/Ecosystem.md
  25. +1 −1 docs/introduction/Examples.md
  26. +3 −3 docs/introduction/Motivation.md
  27. +11 −11 docs/introduction/PriorArt.md
  28. +2 −2 docs/introduction/ThreePrinciples.md
  29. +6 −6 docs/recipes/ComputingDerivedData.md
  30. +14 −14 docs/recipes/ImplementingUndoHistory.md
  31. +10 −10 docs/recipes/IsolatingSubapps.md
  32. +5 −5 docs/recipes/MigratingToRedux.md
  33. +15 −15 docs/recipes/ReducingBoilerplate.md
  34. +16 −16 docs/recipes/ServerRendering.md
  35. +3 −3 docs/recipes/UsingObjectSpreadOperator.md
  36. +6 −6 docs/recipes/WritingTests.md
  37. +2 −2 examples/real-world/actions/index.js
  38. +2 −2 examples/real-world/containers/UserPage.js
  39. +6 −6 index.d.ts
  40. +3 −3 logo/README.md
View
@@ -4,19 +4,19 @@ We are open to, and grateful for, any contributions made by the community. By co
## Reporting Issues and Asking Questions
-Before opening an issue, please search the [issue tracker](https://github.com/reactjs/redux/issues) to make sure your issue hasnt already been reported.
+Before opening an issue, please search the [issue tracker](https://github.com/reactjs/redux/issues) to make sure your issue hasn't already been reported.
### Bugs and Improvements
We use the issue tracker to keep track of bugs and improvements to Redux itself, its examples, and the documentation. We encourage you to open issues to discuss improvements, architecture, theory, internal implementation, etc. If a topic has been discussed before, we will ask you to join the previous discussion.
### Getting Help
-**For support or usage questions like “how do I do X with Redux” and “my code doesnt work”, please search and ask on [StackOverflow with a Redux tag](http://stackoverflow.com/questions/tagged/redux?sort=votes&pageSize=50) first.**
+**For support or usage questions like “how do I do X with Redux” and “my code doesn't work”, please search and ask on [StackOverflow with a Redux tag](http://stackoverflow.com/questions/tagged/redux?sort=votes&pageSize=50) first.**
We ask you to do this because StackOverflow has a much better job at keeping popular questions visible. Unfortunately good answers get lost and outdated on GitHub.
-Some questions take a long time to get an answer. **If your question gets closed or you dont get a reply on StackOverflow for longer than a few days,** we encourage you to post an issue linking to your question. We will close your issue but this will give people watching the repo an opportunity to see your question and reply to it on StackOverflow if they know the answer.
+Some questions take a long time to get an answer. **If your question gets closed or you don't get a reply on StackOverflow for longer than a few days,** we encourage you to post an issue linking to your question. We will close your issue but this will give people watching the repo an opportunity to see your question and reply to it on StackOverflow if they know the answer.
Please be considerate when doing this as this is not the primary purpose of the issue tracker.
@@ -89,7 +89,7 @@ npm run test:watch
### Docs
-Improvements to the documentation are always welcome. In the docs we abide by typographic rules, so instead of ' you should use . Same goes for “ ” and dashes (—) where appropriate. These rules only apply to the text, not to code blocks.
+Improvements to the documentation are always welcome. In the docs we abide by typographic rules, so instead of ' you should use '. Same goes for “ ” and dashes (—) where appropriate. These rules only apply to the text, not to code blocks.
#### Installing Gitbook
@@ -152,7 +152,7 @@ Please visit the [Examples page](http://redux.js.org/docs/introduction/Examples.
### Sending a Pull Request
-For non-trivial changes, please open an issue with a proposal for a new feature or refactoring before starting on the work. We dont want you to waste your efforts on a pull request that we wont want to accept.
+For non-trivial changes, please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.
On the other hand, sometimes the best way to start a conversation *is* to send a pull request. Use your best judgement!
@@ -166,6 +166,6 @@ In general, the contribution workflow looks like this:
Please try to keep your pull request focused in scope and avoid including unrelated commits.
-After you have submitted your pull request, well try to get back to you as soon as possible. We may suggest some changes or improvements.
+After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.
Thank you for contributing!
View
@@ -1,7 +1,7 @@
# <a href='http://redux.js.org'><img src='https://camo.githubusercontent.com/f28b5bc7822f1b7bb28a96d8d09e7d79169248fc/687474703a2f2f692e696d6775722e636f6d2f4a65567164514d2e706e67' height='60'></a>
Redux is a predictable state container for JavaScript apps.
-(If youre looking for a WordPress framework, check out [Redux Framework](https://reduxframework.com/).)
+(If you're looking for a WordPress framework, check out [Redux Framework](https://reduxframework.com/).)
It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as [live code editing combined with a time traveling debugger](https://github.com/gaearon/redux-devtools).
@@ -20,7 +20,7 @@ It is tiny (2kB, including dependencies).
### Testimonials
->[“Love what youre doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
+>[“Love what you're doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
>Jing Chen, creator of Flux
>[“I asked for comments on Redux in FB's internal JS discussion group, and it was universally praised. Really awesome work.”](https://twitter.com/fisherwebdev/status/616286955693682688)
@@ -47,32 +47,32 @@ npm install --save redux
```
This assumes you are using [npm](https://www.npmjs.com/) as your package manager.
-If you dont, you can [access these files on npmcdn](https://npmcdn.com/redux/), download them, or point your package manager to them.
+If you don't, you can [access these files on npmcdn](https://npmcdn.com/redux/), download them, or point your package manager to them.
Most commonly people consume Redux as a collection of [CommonJS](http://webpack.github.io/docs/commonjs.html) modules. These modules are what you get when you import `redux` in a [Webpack](http://webpack.github.io), [Browserify](http://browserify.org/), or a Node environment. If you like to live on the edge and use [Rollup](http://rollupjs.org), we support that as well.
-If you don’t use a module bundler, it’s also fine. The `redux` npm package includes precompiled production and development [UMD](https://github.com/umdjs/umd) builds in the [`dist` folder](https://npmcdn.com/redux/dist/). They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments. For example, you can drop a UMD build as a [`<script>` tag](https://npmcdn.com/redux/dist/redux.js) on the page, or [tell Bower to install it](https://github.com/reactjs/redux/pull/1181#issuecomment-167361975). The UMD builds make Redux available as a `window.Redux` global variable.
+If you don't use a module bundler, it's also fine. The `redux` npm package includes precompiled production and development [UMD](https://github.com/umdjs/umd) builds in the [`dist` folder](https://npmcdn.com/redux/dist/). They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments. For example, you can drop a UMD build as a [`<script>` tag](https://npmcdn.com/redux/dist/redux.js) on the page, or [tell Bower to install it](https://github.com/reactjs/redux/pull/1181#issuecomment-167361975). The UMD builds make Redux available as a `window.Redux` global variable.
-The Redux source code is written in ES2015 but we precompile both CommonJS and UMD builds to ES5 so they work in [any modern browser](http://caniuse.com/#feat=es5). You dont need to use Babel or a module bundler to [get started with Redux](https://github.com/reactjs/redux/blob/master/examples/counter-vanilla/index.html).
+The Redux source code is written in ES2015 but we precompile both CommonJS and UMD builds to ES5 so they work in [any modern browser](http://caniuse.com/#feat=es5). You don't need to use Babel or a module bundler to [get started with Redux](https://github.com/reactjs/redux/blob/master/examples/counter-vanilla/index.html).
#### Complementary Packages
-Most likely, youll also need [the React bindings](https://github.com/reactjs/react-redux) and [the developer tools](https://github.com/gaearon/redux-devtools).
+Most likely, you'll also need [the React bindings](https://github.com/reactjs/react-redux) and [the developer tools](https://github.com/gaearon/redux-devtools).
```
npm install --save react-redux
npm install --save-dev redux-devtools
```
-Note that unlike Redux itself, many packages in the Redux ecosystem dont provide UMD builds, so we recommend using CommonJS module bundlers like [Webpack](http://webpack.github.io) and [Browserify](http://browserify.org/) for the most comfortable development experience.
+Note that unlike Redux itself, many packages in the Redux ecosystem don't provide UMD builds, so we recommend using CommonJS module bundlers like [Webpack](http://webpack.github.io) and [Browserify](http://browserify.org/) for the most comfortable development experience.
### The Gist
The whole state of your app is stored in an object tree inside a single *store*.
The only way to change the state tree is to emit an *action*, an object describing what happened.
To specify how the actions transform the state tree, you write pure *reducers*.
-Thats it!
+That's it!
```js
import { createStore } from 'redux'
@@ -105,7 +105,7 @@ function counter(state = 0, action) {
let store = createStore(counter)
// You can use subscribe() to update the UI in response to state changes.
-// Normally youd use a view binding library (e.g. React Redux) rather than subscribe() directly.
+// Normally you'd use a view binding library (e.g. React Redux) rather than subscribe() directly.
// However it can also be handy to persist the current state in the localStorage.
store.subscribe(() =>
@@ -122,9 +122,9 @@ store.dispatch({ type: 'DECREMENT' })
// 1
```
-Instead of mutating the state directly, you specify the mutations you want to happen with plain objects called *actions*. Then you write a special function called a *reducer* to decide how every action transforms the entire applications state.
+Instead of mutating the state directly, you specify the mutations you want to happen with plain objects called *actions*. Then you write a special function called a *reducer* to decide how every action transforms the entire application's state.
-If youre coming from Flux, there is a single important difference you need to understand. Redux doesnt have a Dispatcher or support many stores. Instead, there is just a single store with a single root reducing function. As your app grows, instead of adding stores, you split the root reducer into smaller reducers independently operating on the different parts of the state tree. This is exactly like there is just one root component in a React app, but it is composed out of many small components.
+If you're coming from Flux, there is a single important difference you need to understand. Redux doesn't have a Dispatcher or support many stores. Instead, there is just a single store with a single root reducing function. As your app grows, instead of adding stores, you split the root reducer into smaller reducers independently operating on the different parts of the state tree. This is exactly like there is just one root component in a React app, but it is composed out of many small components.
This architecture might seem like an overkill for a counter app, but the beauty of this pattern is how well it scales to large and complex apps. It also enables very powerful developer tools, because it is possible to trace every mutation to the action that caused it. You can record user sessions and reproduce them just by replaying every action.
@@ -151,7 +151,7 @@ So, what are you waiting for?
#### [Watch the 30 Free Videos!](https://egghead.io/series/getting-started-with-redux)
-If you enjoyed my course, consider supporting Egghead by [buying a subscription](https://egghead.io/pricing). Subscribers have access to the source code for the example in every one of my videos, as well as to tons of advanced lessons on other topics, including JavaScript in depth, React, Angular, and more. Many [Egghead instructors](https://egghead.io/instructors) are also open source library authors, so buying a subscription is a nice way to thank them for the work that theyve done.
+If you enjoyed my course, consider supporting Egghead by [buying a subscription](https://egghead.io/pricing). Subscribers have access to the source code for the example in every one of my videos, as well as to tons of advanced lessons on other topics, including JavaScript in depth, React, Angular, and more. Many [Egghead instructors](https://egghead.io/instructors) are also open source library authors, so buying a subscription is a nice way to thank them for the work that they've done.
### Documentation
@@ -178,7 +178,7 @@ For PDF, ePub, and MOBI exports for offline reading, and instructions on how to
* [Universal](http://redux.js.org/docs/introduction/Examples.html#universal) ([source](https://github.com/reactjs/redux/tree/master/examples/universal))
* [Real World](http://redux.js.org/docs/introduction/Examples.html#real-world) ([source](https://github.com/reactjs/redux/tree/master/examples/real-world))
-If youre new to the NPM ecosystem and have troubles getting a project up and running, or arent sure where to paste the gist above, check out [simplest-redux-example](https://github.com/jackielii/simplest-redux-example) that uses Redux together with React and Browserify.
+If you're new to the NPM ecosystem and have troubles getting a project up and running, or aren't sure where to paste the gist above, check out [simplest-redux-example](https://github.com/jackielii/simplest-redux-example) that uses Redux together with React and Browserify.
### Discussion
Oops, something went wrong.

0 comments on commit d18a977

Please sign in to comment.