React: Day 3
Destructuring and Spread operator
Destructuring:
A quick way to assign array items to any variable. For example,
arr = ['banana', 'apple', 'kiwi'] (old way)first = arr[0]second = arr[1] third = arr[2]
destructuring features allow you to assign array ...
mamtagupta.hashnode.dev1 min read