JSFiddle - React, Tailwind, and code Playground
HTML
<form onsubmit="return check(this)">
<input type="text" />
<input type="text" name="data[project][title]" value="test" />
<input type="submit" />
</form>
JavaScript
function check(frm)
{
alert( frm['data[project][title]'].value);
}