Pagination Strategy
Which pagination strategy handles a live feed receiving new posts cleanly?
Pros
- Zero duplicate or skipped posts when new items insert at top of timeline.
- O(1) indexed DB seeks using opaque `(createdAt, id)` cursor.
Cons & Pitfalls
- Cannot jump directly to "Page 7" arbitrarily.
Interview Rule of Thumb: Pick Cursor Pagination for every live infinite feed (X, Instagram, LinkedIn).