You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ npm install
31
31
npm start
32
32
```
33
33
34
-
## What's it look like?
34
+
## What does it look like?
35
35
36
36
### Actions
37
37
@@ -196,7 +196,7 @@ Decorate your top-level component with `@provider(dispatcher)` (or `<Provider di
196
196
197
197
Redux dispatcher accepts a single Store as an argument. Usually Flux apps have many Stores, so Redux provides a `composeStore` method that turns an object with Store functions as values (such as what you'd get from `import * as stores`) into a Store that [composes](https://gist.github.com/gaearon/d77ca812015c0356654f) them.
198
198
199
-
Think `composeStores`is a “higher-order” Store because it creates a Store from several Stores. (You don't have to use it! You can just pass your own top-level Store function if that's what you prefer.)
199
+
Think of `composeStores`as a “higher-order” Store because it creates a Store from several Stores. (You don't have to use it! You can just pass your own top-level Store function if that's what you prefer.)
200
200
201
201
```js
202
202
importReactfrom'react';
@@ -234,7 +234,7 @@ export default class App {
234
234
235
235
### Can I use this in production?
236
236
237
-
I wouldn't. Many use cases are not be considered yet. If you find some use cases this lib can't handle yet, please file an issue.
237
+
I wouldn't. Many use cases haven't been considered yet. If you find some use cases this lib can't handle yet, please file an issue.
238
238
239
239
### But there are switch statements!
240
240
@@ -264,9 +264,9 @@ Redux has no opinion on how you do this in your project.
264
264
265
265
### What about `waitFor`?
266
266
267
-
I wrote a lot of vanilla Flux code, and my only use case for it was avoiding emitting a change before a related Store consumes the action. In Redux this doesn't matter because the change is only emitted after *all* Stores have consumed the action.
267
+
I wrote a lot of vanilla Flux code and my only use case for it was to avoid emitting a change before a related Store consumes the action. This doesn't matter in Redux because the change is only emitted after *all* Stores have consumed the action.
268
268
269
-
If several of your Stores want to read data from each other and depend on each other, it's a sign they should've been a single Store instead. [See this discussion on how `waitFor` can be replaced by the composition of stateless Stores.](https://gist.github.com/gaearon/d77ca812015c0356654f)
269
+
If several of your Stores want to read data from each other and depend on each other, it's a sign that they should've been a single Store instead. [See this discussion on how `waitFor` can be replaced by the composition of stateless Stores.](https://gist.github.com/gaearon/d77ca812015c0356654f)
0 commit comments