Open jphilipstevens opened 1 year ago
https://github.com/FigueiredoFelipe/netflix-clone/blob/fd6f38f3afcaf131b18d0a1097db996b2f23dc3b/src/components/MovieRow/MovieRow.js#L8
I want to give some feedback here
One thing I like to do is hide html inside a named component dedicated to what it renders.
So in this case I would put this h2 inside a component called MovieTitle and pass in a prop called title.
Like this
<MovieTitle title={title} />
https://github.com/FigueiredoFelipe/netflix-clone/blob/fd6f38f3afcaf131b18d0a1097db996b2f23dc3b/src/components/MovieRow/MovieRow.js#L8
I want to give some feedback here
One thing I like to do is hide html inside a named component dedicated to what it renders.
So in this case I would put this h2 inside a component called MovieTitle and pass in a prop called title.
Like this