Skip to content

Commit

Permalink
Minor language fix (#3498)
Browse files Browse the repository at this point in the history
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"?
  • Loading branch information
joshuabambrick authored and timdorr committed Aug 7, 2019
1 parent 39cc043 commit 6afef6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basics/Reducers.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function visibilityFilter(state = SHOW_ALL, action) {
}
```

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

```js
function todos(state = [], action) {
Expand Down Expand Up @@ -396,7 +396,7 @@ All [`combineReducers()`](../api/combineReducers.md) does is generate a function
> const todoApp = combineReducers(reducers)
> ```
>
> 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.
> 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.
## Source Code

Expand Down

0 comments on commit 6afef6a

Please sign in to comment.