I have a little problem wih my react app.
I try to pick name element on an array like this, with only the value of id correspondant.
Ex of array :
[{"id":2,"name":"Jean","content":"hey brother"},{"id":6,"name":"Jack","content":"hey sister"}]
I have just id = 2. How to reach the name "Jean" simply ?