Skip to content

Instantly share code, notes, and snippets.

View rayets123's full-sized avatar

Vitaliy rayets123

  • Kyiv
View GitHub Profile

Frontend Developer Tech Task

We need to create an app to review movies from The Movie Database API.

Requirements:

  • Use The Movie Database API(DOCS), we want to see your work with real data.
  • On the Homepage, we should see a list of popular movies. There should be pagination or infinite scroll.
  • When the user clicks on a movie card in the list, we go to the page where we will see detailed information about the movie.

Предположим, у меня есть список айтемов, где у каждого, например, есть кнопка удаления. По нажатию на кнопку просто вызывается какая-то функция, которая работает с backend API.

function ListItem({ data }) {
  return (
    <li className="list-item">
      {/* ... */}
 
@rayets123
rayets123 / react-best-practices.md
Created March 30, 2023 11:05 — forked from cdiggins/react-best-practices.md
React Best Practices