JSFiddle - React, Tailwind, and code Playground
JavaScript
var things = [
{
id: "12345",
name: "Bryan"
},
{
id: "55555",
name: "Justin"
}
]
var thing = things.filter(function (item) {
return "55555" === item.id
})[0]
console.log(thing)