score:1

Accepted answer
{Object.keys(city).length !== 0 ? <YourCityComponent/> : <div></div>}

score:0

return <div>Loading...</div>;

Related Query

More Query from same tag