React Passing down props using spread operator
Where each property needs to be passed as a single prop value you could use the spread operator ... supported
for arrays in ES6 to pass down all your values. The component will now look like this.
Remember that the properties of the object that you pass in are copied onto the component's props.
The order is important. Later attributes override previous ones.
Another case is that you also can use spread operator to pass only parts of props to children components, then you can use destructuring syntax from props again.
It's very useful when children components need lots of props but not want pass them one by one.