Engrain by ByteRush

MC.04.01 Mid-levelCore — asked often

Infinite feed: build

Comes up in: Machine coding, Frontend system design

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • cursor pagination
  • IntersectionObserver sentinel
  • loading guard (no double fetch)
  • error + retry
  • end of list
  • skeletons

Words you will know

infinite scrollcursor

What you will practise

  • build (timed 75 min)

Interview questions this answers

  • How do you implement infinite scroll without scroll event listeners?
  • How do you prevent duplicate requests when the sentinel stays visible?
  • Is infinite scroll accessible? What alternatives do you offer?