Self-review: Managing state within a component - Advanced React
Is this a valid useState hook invocation and destructuring?
const [car, setCar] = useState({ color: 'blue', mileage: 0})
Yes
No
It would be valid, if it was spread over multiple lines.
True or False: You can clone a JS object using the . oper...