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

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -