I saw somewhere this notation function Element({...props}), but you could also simply write function Element(props). Why should you write this with spread notation?
function Element({...props}) {
// render element here
}
versus
function Element(props) {
// render element here
}
>Solution :
You might take a few props later and leave the rest:
function Component({ foo, bar, ...props }) {
Doing this ahead of time might save you some typing later.
This is the only thing I can think of why you would do this.