map onliy three object code example Example: map onliy three object { users.slice(0, 3).map( <UserItem key={user.id} user={user} /> )) }