Start your All-Access Pass to unlock this challenge
In my CarTitle component, I receive a car
prop that contains both model
and
brand
as separate keys. These two keys change when a user selects different
options from 2 select
elements that exist elsewhere on the page.
What I'd like to do is "listen" to these prop change and automatically update the car title in the template.
Which of these examples would do the job in the best way?