JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.8.0/lodash.min.js"></script>
<pre id="before"></pre>
<p>Using <code>_.indexBy</code></p>
<pre id="after"></pre>
JavaScript
var q = [{
"v": "blah",
"t": "asdfsdf",
}, {
"v": "basldfasdfd",
"t": "blah",
}];
$('#before').html(JSON.stringify(q, null, 2));
$('#after').html(JSON.stringify(_.indexBy(q, 'v'), null, 2));