score:3

hostels.map((hostel, hostelIndex) => (<SomeComponent key={hostelIndex} />))

Related Query

More Query from same tag