DEV Community

Cover image for Destructure & Spread operator, Learn it now!
Ganeshakumar K
Ganeshakumar K

Posted on • Updated on

Destructure & Spread operator, Learn it now!

Destructure is a beautiful ES6 standard which gives convenient way for a programmer to access the values from object or an array. People forget to use this and end up in bad programming habits in Javascript or React famliy.

Let's see where and all we can use destructure

  1. Functional Component
  2. Class component
  3. Array Destructure
  4. Spread Operator
    • Array and object spread

Watch the below video which is explained in a beautiful way.

Top comments (1)

Collapse
 
ganeshakumar profile image
Ganeshakumar K

Anyone still not using ES6 standards?