Fix line numbers

This commit is contained in:
Dan Abramov
2019-02-08 20:37:28 +00:00
committed by GitHub
parent 741dc3b5f1
commit e3cf542e75

View File

@@ -232,7 +232,7 @@ You can also create the initial state lazily. To do this, you can pass an `init`
It lets you extract the logic for calculating the initial state outside the reducer. This is also handy for resetting the state later in response to an action:
```js{1-3,11-12,21,26}
```js{1-3,11-12,19,24}
function init(initialCount) {
return {count: initialCount};
}