Solutionunvalidated
You can either declare the object directly (e.g., as `props`) and reference its parameters later, or declare the parameters directly as shown in the second example. — In React.js, components receive passed variables as an object. Tension: The component receives an object containing all the passed properties.
48b4b2aa-969d-4696-945f-4c5a53770fd3
You can either declare the object directly (e.g., as props) and reference its parameters later, or declare the parameters directly as shown in the second example. — In React.js, components receive passed variables as an object. Tension: The component receives an object containing all the passed properties.