An interesting challenge I encountered in an interview

  • Search box

  • Fetch more

  • Image gallery

😭 Unfortunately, I did not complete all the functions within the specified time...

I went on to support the "fetch more" feature after the interview. However, rather than automatically fetching more content when scrolling to the bottom, it's triggered by the user clicking a button:

preview image

I used to import the third-party library react-waypoint in this case. But I want to refer to the source codes to figure out how it works. Will continue to update this repository.💪