If Spread Operator is not working in redux -
if spread operator (...) not working in redux. spread operator used array construction , destructuring, , fill function arguments array on invocation. case when operator spreads array (or iterable object) elements.
open cmd npm install --save-dev babel-plugin-transform-object-rest-spread
, create file named .babelrc in project directory, write following code in it. save , run npm. { "plugins": ["transform-object-rest-spread"] } shared https://github.com/kpilard
Comments
Post a Comment