Skip to content

Commit

Permalink
Updates website
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Oct 30, 2019
1 parent 2ce5f1a commit 627fd17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ addProduct: action((state, payload) => {
})
```

Woah! Far more verbose, and harder to grok! That being said, if you prefer this immutable form you can disable the immer-based mutation form by setting the `disableImmer` [configuration](/docs/api/store-config.html) of the [createStore](/docs/api/create-store.html). You would then have to return new immutable state within your action handlers as you would within a standard Redux reducer.
Woah! Far more verbose, and harder to grok! That being said, you can use this approach if you prefer. 😀

Next up let's learn how to dispatch our [actions](/docs/api/action.html) from our components.

Expand Down

0 comments on commit 627fd17

Please sign in to comment.