Skip to content

Commit d18a977

Browse files
authored
Switch out non-ASCII quotes for ASCII versions. (reduxjs#1874)
1 parent 1ce3d14 commit d18a977

40 files changed

+325
-325
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ We are open to, and grateful for, any contributions made by the community. By co
44

55
## Reporting Issues and Asking Questions
66

7-
Before opening an issue, please search the [issue tracker](https://github.com/reactjs/redux/issues) to make sure your issue hasnt already been reported.
7+
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.
88

99
### Bugs and Improvements
1010

1111
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.
1212

1313
### Getting Help
1414

15-
**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.**
15+
**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.**
1616

1717
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.
1818

19-
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.
19+
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.
2020

2121
Please be considerate when doing this as this is not the primary purpose of the issue tracker.
2222

@@ -89,7 +89,7 @@ npm run test:watch
8989

9090
### Docs
9191

92-
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.
92+
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.
9393

9494
#### Installing Gitbook
9595

@@ -152,7 +152,7 @@ Please visit the [Examples page](http://redux.js.org/docs/introduction/Examples.
152152

153153
### Sending a Pull Request
154154

155-
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.
155+
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.
156156

157157
On the other hand, sometimes the best way to start a conversation *is* to send a pull request. Use your best judgement!
158158

@@ -166,6 +166,6 @@ In general, the contribution workflow looks like this:
166166

167167
Please try to keep your pull request focused in scope and avoid including unrelated commits.
168168

169-
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.
169+
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.
170170

171171
Thank you for contributing!

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# <a href='http://redux.js.org'><img src='https://camo.githubusercontent.com/f28b5bc7822f1b7bb28a96d8d09e7d79169248fc/687474703a2f2f692e696d6775722e636f6d2f4a65567164514d2e706e67' height='60'></a>
22

33
Redux is a predictable state container for JavaScript apps.
4-
(If youre looking for a WordPress framework, check out [Redux Framework](https://reduxframework.com/).)
4+
(If you're looking for a WordPress framework, check out [Redux Framework](https://reduxframework.com/).)
55

66
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).
77

@@ -20,7 +20,7 @@ It is tiny (2kB, including dependencies).
2020
2121
### Testimonials
2222

23-
>[“Love what youre doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
23+
>[“Love what you're doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
2424
>Jing Chen, creator of Flux
2525
2626
>[“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
4747
```
4848

4949
This assumes you are using [npm](https://www.npmjs.com/) as your package manager.
50-
If you dont, you can [access these files on npmcdn](https://npmcdn.com/redux/), download them, or point your package manager to them.
50+
If you don't, you can [access these files on npmcdn](https://npmcdn.com/redux/), download them, or point your package manager to them.
5151

5252
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.
5353

54-
If you dont use a module bundler, its 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.
54+
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.
5555

56-
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).
56+
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).
5757

5858
#### Complementary Packages
5959

60-
Most likely, youll also need [the React bindings](https://github.com/reactjs/react-redux) and [the developer tools](https://github.com/gaearon/redux-devtools).
60+
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).
6161

6262
```
6363
npm install --save react-redux
6464
npm install --save-dev redux-devtools
6565
```
6666

67-
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.
67+
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.
6868

6969
### The Gist
7070

7171
The whole state of your app is stored in an object tree inside a single *store*.
7272
The only way to change the state tree is to emit an *action*, an object describing what happened.
7373
To specify how the actions transform the state tree, you write pure *reducers*.
7474

75-
Thats it!
75+
That's it!
7676

7777
```js
7878
import { createStore } from 'redux'
@@ -105,7 +105,7 @@ function counter(state = 0, action) {
105105
let store = createStore(counter)
106106

107107
// You can use subscribe() to update the UI in response to state changes.
108-
// Normally youd use a view binding library (e.g. React Redux) rather than subscribe() directly.
108+
// Normally you'd use a view binding library (e.g. React Redux) rather than subscribe() directly.
109109
// However it can also be handy to persist the current state in the localStorage.
110110

111111
store.subscribe(() =>
@@ -122,9 +122,9 @@ store.dispatch({ type: 'DECREMENT' })
122122
// 1
123123
```
124124

125-
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.
125+
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.
126126

127-
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.
127+
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.
128128

129129
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.
130130

@@ -151,7 +151,7 @@ So, what are you waiting for?
151151

152152
#### [Watch the 30 Free Videos!](https://egghead.io/series/getting-started-with-redux)
153153

154-
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.
154+
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.
155155

156156
### Documentation
157157

@@ -178,7 +178,7 @@ For PDF, ePub, and MOBI exports for offline reading, and instructions on how to
178178
* [Universal](http://redux.js.org/docs/introduction/Examples.html#universal) ([source](https://github.com/reactjs/redux/tree/master/examples/universal))
179179
* [Real World](http://redux.js.org/docs/introduction/Examples.html#real-world) ([source](https://github.com/reactjs/redux/tree/master/examples/real-world))
180180

181-
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.
181+
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.
182182

183183
### Discussion
184184

0 commit comments

Comments
 (0)