Skip to content

Commit 6afef6a

Browse files
joshuabambricktimdorr
authored andcommitted
Minor language fix (#3498)
A slight improvement to the language, because: 1. "anymore" is not word 1. the second usage is also ambiguous - does it mean "we don't use it fromhereonin" or "we no longer use it"?
1 parent 39cc043 commit 6afef6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basics/Reducers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function visibilityFilter(state = SHOW_ALL, action) {
291291
}
292292
```
293293

294-
Now we can rewrite the main reducer as a function that calls the reducers managing parts of the state, and combines them into a single object. It also doesn't need to know the complete initial state anymore. It's enough that the child reducers return their initial state when given `undefined` at first.
294+
Now we can rewrite the main reducer as a function that calls the reducers managing parts of the state, and combines them into a single object. It also doesn't need to know the complete initial state any more. It's enough that the child reducers return their initial state when given `undefined` at first.
295295

296296
```js
297297
function todos(state = [], action) {
@@ -396,7 +396,7 @@ All [`combineReducers()`](../api/combineReducers.md) does is generate a function
396396
> const todoApp = combineReducers(reducers)
397397
> ```
398398
>
399-
> Because `import *` is still new syntax, we don't use it anymore in the documentation to avoid [confusion](https://github.com/reduxjs/redux/issues/428#issuecomment-129223274), but you may encounter it in some community examples.
399+
> Because `import *` is still new syntax, we no longer use it in the documentation to avoid [confusion](https://github.com/reduxjs/redux/issues/428#issuecomment-129223274), but you may encounter it in some community examples.
400400
401401
## Source Code
402402

0 commit comments

Comments
 (0)