JSX Spread Operator <Component {…props} /> Meaning

Because googling What does {…props} mean yields little results

Spread Attributes

// These two are equivalentfunction App1() {
return <Greeting firstName="Ben" lastName="Hector" />;
}

function App2() {
const props = {firstName: 'Ben'