@samitouri / QOS-React-2 / commits / ed8727ade7

Transform rest and spread properties using Babel 6

> Out of the box Babel doesn't do anything. In order to actually do > anything to your code you need to enable plugins. > (https://babeljs.io/docs/plugins/)

Martin Hujer committed Nov 20, 2015 at 20:02 UTC ed8727ade783c5998b51ae75554af4cb391c2acc
1 file changed +1 -1
docs/docs/06-transferring-props.md
+1 -1
@@ -143,7 +143,7 @@ z; // { a: 3, b: 4 }
143
144 > Note:
145 >
146 -> This proposal has reached stage 2 and is now enabled by default in Babel. Older versions of Babel may need to explicitly enable this transform with `babel --optional es7.objectRestSpread`
146 +> To transform rest and spread properties using Babel 6, you need to install the [`es2015`](https://babeljs.io/docs/plugins/preset-es2015/) preset, the [`transform-object-rest-spread`](https://babeljs.io/docs/plugins/transform-object-rest-spread/) plugin and configure them in the `.babelrc` file.
147
148 ## Transferring with Underscore
149