Skip to content

Commit

Permalink
Fix broken link to Babel transform-object-rest-spread
Browse files Browse the repository at this point in the history
  • Loading branch information
git-in-my-anus committed Feb 15, 2016
1 parent e84ead6 commit 5b10870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Finally, to update objects, you’ll need something like `_.extend` from Undersc

Make sure that you use `Object.assign` correctly. For example, instead of returning something like `Object.assign(state, newData)` from your reducers, return `Object.assign({}, state, newData)`. This way you don’t override the previous `state`.

You can also enable [ES7 object spread proposal](https://github.com/sebmarkbage/ecmascript-rest-spread) with [Babel stage 1](http://babeljs.io/docs/usage/experimental/):
You can also enable [ES7 object spread proposal](https://github.com/sebmarkbage/ecmascript-rest-spread) with [Babel transform-object-rest-spread plugin](http://babeljs.io/docs/plugins/transform-object-rest-spread/):

```js
// Before:
Expand Down

0 comments on commit 5b10870

Please sign in to comment.