At the moment, handleLikeClick
has the uuid
of the liked tweet. What we need to do is use that uuid
to find the tweet in tweetsData
and save it to a const called targetTweet
.
.filter()
method. If you need to brush up, you can watch a scrim on it here.likes
count with the following syntax: object.propertyName++
.