{this.state.data[0].title}
render() {
const { data } = this.state;
const isAllDataReady = data && data.length > 0;
return (
<div>
{!isAllDataReady && <Preloader />}
{isAllDataReady && (
<div>
<h4>App component</h4>
{data[0].title}
</div>
)}
</div>
);
}
<table>
<thead>
<tr>
<th colspan="4">Грузы по Украине</th>
</tr>
</thead>
<tfoot>
<tr>
<td>
</td>
</tr>
</tfoot>
<tbody>
<tr>
</tr>
<tr>
</tr>
</tbody>
</table>