react map array limit

101

react map array limit -

var film = this.props.data.slice(0, 5).map((item) => {
        return <FilmItem key={item.id} film={item} />
    });

return film;

Comments

Submit
0 Comments